Transfer flags indicating if settings were changed

This commit is contained in:
Bartłomiej Dach
2021-01-06 21:57:54 +01:00
parent 9984c80c87
commit 303cc62ee7
3 changed files with 19 additions and 7 deletions

View File

@ -59,8 +59,8 @@ namespace osu.Game.Rulesets.Catch.Mods
{
base.ApplySettings(difficulty);
difficulty.CircleSize = CircleSize.Value;
difficulty.ApproachRate = ApproachRate.Value;
ApplySetting(CircleSize, cs => difficulty.CircleSize = cs);
ApplySetting(ApproachRate, ar => difficulty.ApproachRate = ar);
}
}
}