1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-17 19:44:22 +08:00

Rename {-> Max}Combo sort mode

I have a feeling this is going to save asses in an indeterminate future.
This commit is contained in:
Bartłomiej Dach
2025-07-28 11:38:17 +02:00
Unverified
parent 99f9a3b1f4
commit f489ffdfd7
2 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ namespace osu.Game.Scoring
case LeaderboardSortMode.Accuracy:
return scores.OrderByDescending(s => s.Accuracy).ThenByDescending(s => s.TotalScore);
case LeaderboardSortMode.Combo:
case LeaderboardSortMode.MaxCombo:
return scores.OrderByDescending(s => s.MaxCombo).ThenByDescending(s => s.TotalScore);
case LeaderboardSortMode.Misses:
@@ -1,13 +1,18 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.ComponentModel;
namespace osu.Game.Screens.Select.Leaderboards
{
public enum LeaderboardSortMode
{
Score,
Accuracy,
Combo,
[Description("Max Combo")]
MaxCombo,
Misses,
Date,
}