mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 15:44:04 +09:00
Move Length out of OnlineInfo
This commit is contained in:
@ -50,8 +50,8 @@ namespace osu.Game.Screens.Select.Carousel
|
||||
|
||||
case SortMode.Length:
|
||||
// Length comparing must be in seconds
|
||||
if (TimeSpan.FromMilliseconds(Beatmap.OnlineInfo.Length).Seconds != TimeSpan.FromMilliseconds(otherBeatmap.Beatmap.OnlineInfo.Length).Seconds)
|
||||
return Beatmap.OnlineInfo.Length.CompareTo(otherBeatmap.Beatmap.OnlineInfo.Length);
|
||||
if (TimeSpan.FromMilliseconds(Beatmap.Length).Seconds != TimeSpan.FromMilliseconds(otherBeatmap.Beatmap.Length).Seconds)
|
||||
return Beatmap.Length.CompareTo(otherBeatmap.Beatmap.Length);
|
||||
|
||||
goto case SortMode.Difficulty;
|
||||
}
|
||||
|
Reference in New Issue
Block a user