1
0
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:
o-dasher 2024-07-15 00:01:59 -03:00
parent 5fc6f1f4a5
commit 4ff322bf9a

View File

@ -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.")]