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

clear settings controls when changing rulesets

This commit is contained in:
LeNitrous 2019-10-08 19:42:15 +08:00
parent 59b2f02828
commit 9375ef5eea

View File

@ -330,6 +330,7 @@ namespace osu.Game.Overlays.Mods
if (mods != null) SelectedMods.BindTo(mods);
SelectedMods.ValueChanged += updateModSettings;
Ruleset.ValueChanged += _ => ModSettingsContent.Clear();
sampleOn = audio.Samples.Get(@"UI/check-on");
sampleOff = audio.Samples.Get(@"UI/check-off");