1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 17:07:38 +08:00

Fix target score selection abruptly discarded after opening results screen

This commit is contained in:
Salman Ahmed 2024-07-25 07:59:33 +03:00
parent 542cb12059
commit 9d5fbb8b4f

View File

@ -29,7 +29,7 @@ namespace osu.Game.Screens.OnlinePlay.Playlists
{
var scoreInfos = base.PerformSuccessCallback(callback, scores, pivot);
Schedule(() => SelectedScore.Value = scoreInfos.SingleOrDefault(score => score.OnlineID == scoreId));
Schedule(() => SelectedScore.Value ??= scoreInfos.SingleOrDefault(score => score.OnlineID == scoreId));
return scoreInfos;
}