1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 07:42:57 +08:00

Remove redundant tuple naming

This commit is contained in:
Dean Herbert 2021-10-10 16:50:55 +09:00
parent 4475697a9c
commit 6d6de5b677

View File

@ -74,7 +74,7 @@ namespace osu.Game.Scoring
var totalScores = await Task.WhenAll(scores.Select(s => GetTotalScoreAsync(s, cancellationToken: cancellationToken))).ConfigureAwait(false);
return scores.Select((score, index) => (score: score, totalScore: totalScores[index]))
return scores.Select((score, index) => (score, totalScore: totalScores[index]))
.OrderByDescending(g => g.totalScore)
.ThenBy(g => g.score.OnlineScoreID)
.Select(g => g.score)