diff --git a/osu.Game/Screens/Play/ModsContainer.cs b/osu.Game/Screens/Play/ModsContainer.cs index 514d174212..3ae3e0b119 100644 --- a/osu.Game/Screens/Play/ModsContainer.cs +++ b/osu.Game/Screens/Play/ModsContainer.cs @@ -16,11 +16,9 @@ namespace osu.Game.Screens.Play { private readonly FillFlowContainer iconsContainer; - private bool showMods; public bool ShowMods { - get { return showMods; } - set { showMods = value; } + set { if (!value) Hide(); } } public ModsContainer() @@ -70,14 +68,5 @@ namespace osu.Game.Screens.Play default: return Color4.White; } } - - [BackgroundDependencyLoader] - private void load() - { - if (ShowMods) - Show(); - else - Hide(); - } } }