mirror of
https://github.com/ppy/osu
synced 2025-03-03 01:49:46 +00:00
Fix ordering of skins in dropdown being reverse of expected
This commit is contained in:
parent
0e0e8c25e8
commit
8ce7467e97
@ -81,7 +81,7 @@ namespace osu.Game.Overlays.Settings.Sections
|
|||||||
|
|
||||||
realmSkins = realmFactory.Context.All<SkinInfo>()
|
realmSkins = realmFactory.Context.All<SkinInfo>()
|
||||||
.Where(s => !s.DeletePending)
|
.Where(s => !s.DeletePending)
|
||||||
.OrderBy(s => s.Protected)
|
.OrderByDescending(s => s.Protected) // protected skins should be at the top.
|
||||||
.ThenBy(s => s.Name, StringComparer.OrdinalIgnoreCase);
|
.ThenBy(s => s.Name, StringComparer.OrdinalIgnoreCase);
|
||||||
|
|
||||||
realmSubscription = realmSkins
|
realmSubscription = realmSkins
|
||||||
|
Loading…
Reference in New Issue
Block a user