1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-02 12:10:12 +08:00

Fixes unexpected possible flashlight sizes.

This commit is contained in:
o-dasher
2024-07-15 00:01:59 -03:00
Unverified
parent 5fc6f1f4a5
commit 4ff322bf9a
+6
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.")]