1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 21:42:55 +08:00

Merge pull request #29058 from frenzibyte/daily-challenge-fix-score-selection

Fix daily challenge abruptly discarding score selection when opening results screen
This commit is contained in:
Bartłomiej Dach 2024-07-25 10:46:32 +02:00 committed by GitHub
commit 9790c5a574
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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;
}