mirror of
https://github.com/ppy/osu.git
synced 2025-03-24 09:37:19 +08:00
Order scores by score
This commit is contained in:
parent
47061c0210
commit
b217dd1a65
@ -259,7 +259,10 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
|
||||
return;
|
||||
}
|
||||
|
||||
var scoreInfos = newScores.Scores.Select(s => s.CreateScoreInfo(rulesets)).ToList();
|
||||
var scoreInfos = newScores.Scores.Select(s => s.CreateScoreInfo(rulesets))
|
||||
.OrderByDescending(s => scoreManager.GetBindableTotalScore(s).Value)
|
||||
.ToList();
|
||||
|
||||
var topScore = scoreInfos.First();
|
||||
|
||||
scoreTable.DisplayScores(scoreInfos, topScore.Beatmap?.Status.GrantsPerformancePoints() == true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user