diff --git a/osu.Game/Rulesets/Mods/Mod.cs b/osu.Game/Rulesets/Mods/Mod.cs
index d2747d98c7..b7432ec966 100644
--- a/osu.Game/Rulesets/Mods/Mod.cs
+++ b/osu.Game/Rulesets/Mods/Mod.cs
@@ -148,18 +148,18 @@ namespace osu.Game.Rulesets.Mods
/// When creating copies or clones of a Mod, this method will be called to copy explicitly adjusted user settings.
/// The base implementation will transfer the value via and should be called unless replaced with custom logic.
///
- /// The target bindable to apply the adjustment.
- /// The adjustment to apply.
- internal virtual void CopyAdjustedSetting(IBindable bindable, object value)
+ /// The target bindable to apply the adjustment.
+ /// The adjustment to apply.
+ internal virtual void CopyAdjustedSetting(IBindable target, object source)
{
- if (value is IBindable incoming)
+ if (source is IBindable sourceBindable)
{
//copy including transfer of default values.
- bindable.BindTo(incoming);
- bindable.UnbindFrom(incoming);
+ target.BindTo(sourceBindable);
+ target.UnbindFrom(sourceBindable);
}
else
- bindable.Parse(value);
+ target.Parse(source);
}
public bool Equals(IMod other) => GetType() == other?.GetType();
diff --git a/osu.Game/Rulesets/Mods/ModDifficultyAdjust.cs b/osu.Game/Rulesets/Mods/ModDifficultyAdjust.cs
index 58af96a8df..72a4bb297f 100644
--- a/osu.Game/Rulesets/Mods/ModDifficultyAdjust.cs
+++ b/osu.Game/Rulesets/Mods/ModDifficultyAdjust.cs
@@ -114,10 +114,10 @@ namespace osu.Game.Rulesets.Mods
bindable.ValueChanged += _ => userChangedSettings[bindable] = !bindable.IsDefault;
}
- internal override void CopyAdjustedSetting(IBindable bindable, object value)
+ internal override void CopyAdjustedSetting(IBindable target, object source)
{
- userChangedSettings[bindable] = true;
- base.CopyAdjustedSetting(bindable, value);
+ userChangedSettings[target] = true;
+ base.CopyAdjustedSetting(target, source);
}
///