Add SortID to RulesetInfo to allow stable ordering of rulesets for display

This commit is contained in:
Dean Herbert
2022-01-27 15:19:27 +09:00
parent de5ac7ad83
commit f30d63107a
5 changed files with 46 additions and 6 deletions

View File

@ -39,7 +39,7 @@ namespace osu.Game.Screens.Select.Carousel
beatmapSet.Beatmaps
.Where(b => !b.Hidden)
.OrderBy(b => b.RulesetID)
.OrderBy(b => b.Ruleset.SortID)
.ThenBy(b => b.StarRating)
.Select(b => new CarouselBeatmap(b))
.ForEach(AddChild);