1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 00:42:55 +08:00

sort by ruleset id first then star diff

This commit is contained in:
Gagah Pangeran 2020-12-15 11:09:09 +07:00
parent 8ec7a10580
commit f0e6b6eaf8

View File

@ -152,7 +152,7 @@ namespace osu.Game.Overlays.BeatmapListing.Panels
}
else
{
foreach (var b in SetInfo.Beatmaps.OrderBy(beatmap => beatmap.StarDifficulty))
foreach (var b in SetInfo.Beatmaps.OrderBy(beatmap => beatmap.Ruleset.ID).ThenBy(beatmap => beatmap.StarDifficulty))
icons.Add(new DifficultyIcon(b));
}