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:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user