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

Remove redundant second Current set operation

This commit is contained in:
Dean Herbert 2022-09-13 13:50:59 +09:00
parent f31deaef7c
commit d368f37c3a

View File

@ -76,8 +76,6 @@ namespace osu.Game.Overlays.Settings.Sections
{ {
base.LoadComplete(); base.LoadComplete();
skinDropdown.Current = skins.CurrentSkinInfo;
realmSubscription = realm.RegisterForNotifications(_ => realm.Realm.All<SkinInfo>() realmSubscription = realm.RegisterForNotifications(_ => realm.Realm.All<SkinInfo>()
.Where(s => !s.DeletePending) .Where(s => !s.DeletePending)
.OrderByDescending(s => s.Protected) // protected skins should be at the top. .OrderByDescending(s => s.Protected) // protected skins should be at the top.