mirror of
https://github.com/osukey/osukey.git
synced 2025-06-08 04:48:04 +09: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);
|
updateCustomisation(val);
|
||||||
updateFromExternalSelection();
|
updateFromExternalSelection();
|
||||||
|
|
||||||
|
if (AllowCustomisation)
|
||||||
|
{
|
||||||
modSettingChangeTracker = new ModSettingChangeTracker(val.NewValue);
|
modSettingChangeTracker = new ModSettingChangeTracker(val.NewValue);
|
||||||
modSettingChangeTracker.SettingChanged += _ => updateMultiplier();
|
modSettingChangeTracker.SettingChanged += _ => updateMultiplier();
|
||||||
|
}
|
||||||
}, true);
|
}, true);
|
||||||
|
|
||||||
customisationVisible.BindValueChanged(_ => updateCustomisationVisualState(), true);
|
customisationVisible.BindValueChanged(_ => updateCustomisationVisualState(), true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user