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
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ protected override ScoreInfo[] PerformSuccessCallback(Action<IEnumerable<ScoreIn
{
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;
}