Merge pull request #11180 from gagahpangeran/beatmap-diff-icon

Fix beatmapset panel difficulty icon order
This commit is contained in:
Dan Balasescu 2020-12-15 13:58:23 +09:00 committed by GitHub
commit 801080e06e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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));
}