1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 13:37:25 +08:00

Fix one missed instance of GetResultSafely

This commit is contained in:
Dean Herbert 2022-01-11 13:34:24 +09:00
parent f451560203
commit 58f8aae731

View File

@ -170,7 +170,7 @@ namespace osu.Game.Screens.Select.Leaderboards
scores = scores.Detach();
scoreManager.OrderByTotalScoreAsync(scores.ToArray(), cancellationToken)
.ContinueWith(ordered => scoresCallback?.Invoke(ordered.Result), TaskContinuationOptions.OnlyOnRanToCompletion);
.ContinueWith(ordered => scoresCallback?.Invoke(ordered.GetResultSafely()), TaskContinuationOptions.OnlyOnRanToCompletion);
return null;
}