mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 11:37:28 +08:00
Only add setting tracker when customisation is permitted
This commit is contained in:
parent
e86a35fe33
commit
89653b74c7
@ -246,8 +246,11 @@ namespace osu.Game.Overlays.Mods
|
||||
updateCustomisation(val);
|
||||
updateFromExternalSelection();
|
||||
|
||||
modSettingChangeTracker = new ModSettingChangeTracker(val.NewValue);
|
||||
modSettingChangeTracker.SettingChanged += _ => updateMultiplier();
|
||||
if (AllowCustomisation)
|
||||
{
|
||||
modSettingChangeTracker = new ModSettingChangeTracker(val.NewValue);
|
||||
modSettingChangeTracker.SettingChanged += _ => updateMultiplier();
|
||||
}
|
||||
}, true);
|
||||
|
||||
customisationVisible.BindValueChanged(_ => updateCustomisationVisualState(), true);
|
||||
|
Loading…
Reference in New Issue
Block a user