mirror of
https://github.com/ppy/osu.git
synced 2025-01-30 03:02:54 +08:00
Fixes unexpected possible flashlight sizes.
This commit is contained in:
parent
5fc6f1f4a5
commit
4ff322bf9a
@ -53,6 +53,12 @@ namespace osu.Game.Rulesets.Mods
|
||||
FinalChangeSizeCombo.MaxValue = findClosestMultipleFrom(ChangeSizeComboDivisor.MaxValue, newChangeSizeComboDivisor);
|
||||
FinalChangeSizeCombo.Precision = newChangeSizeComboDivisor;
|
||||
}, true);
|
||||
|
||||
// The final flashlight size shouldn't exceed the starting flashlight size.
|
||||
StartingFlashlightSize.BindValueChanged(e =>
|
||||
{
|
||||
FinalFlashlightSize.MaxValue = e.NewValue;
|
||||
});
|
||||
}
|
||||
|
||||
[SettingSource("Starting flashlight size", "Multiplier applied to the default flashlight size.")]
|
||||
|
Loading…
Reference in New Issue
Block a user