Add internal pathway for ensuring correct application of bindable mods

This commit is contained in:
Dean Herbert
2021-01-03 15:48:28 +09:00
parent 23e216fa0b
commit 29dbb1cc0d
3 changed files with 20 additions and 9 deletions

View File

@ -114,6 +114,12 @@ namespace osu.Game.Rulesets.Mods
bindable.ValueChanged += _ => userChangedSettings[bindable] = !bindable.IsDefault;
}
internal override void CopyAdjustedSetting(IBindable bindable, object value)
{
userChangedSettings[bindable] = true;
base.CopyAdjustedSetting(bindable, value);
}
/// <summary>
/// Apply all custom settings to the provided beatmap.
/// </summary>