Fix potential incorrect ordering

This commit is contained in:
smoogipoo
2021-08-30 19:41:44 +09:00
parent 4ebb11472d
commit e19d81c88c
2 changed files with 10 additions and 2 deletions

View File

@ -261,6 +261,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
var scoreInfos = newScores.Scores.Select(s => s.CreateScoreInfo(rulesets))
.OrderByDescending(s => scoreManager.GetTotalScore(s))
.ThenBy(s => s.OnlineScoreID)
.ToList();
var topScore = scoreInfos.First();