mirror of https://github.com/ppy/osu
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:
commit
9790c5a574
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue