1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 11:20:04 +08:00

Fixes unnecessary MaxValue definition for FinalFlashlightSize

This commit is contained in:
o-dasher 2024-07-15 00:42:18 -03:00
parent c333226b9f
commit fce32e91f7

View File

@ -60,7 +60,7 @@ namespace osu.Game.Rulesets.Mods
StartingFlashlightSize.BindValueChanged(e => StartingFlashlightSize.BindValueChanged(e =>
{ {
FinalFlashlightSize.MaxValue = e.NewValue; FinalFlashlightSize.MaxValue = e.NewValue;
}); }, true);
} }
[SettingSource("Starting flashlight size", "Multiplier applied to the default flashlight size.")] [SettingSource("Starting flashlight size", "Multiplier applied to the default flashlight size.")]
@ -70,7 +70,6 @@ namespace osu.Game.Rulesets.Mods
public BindableFloat FinalFlashlightSize { get; } = new BindableFloat(0.625f) public BindableFloat FinalFlashlightSize { get; } = new BindableFloat(0.625f)
{ {
MinValue = 0.5f, MinValue = 0.5f,
MaxValue = 1,
Precision = 0.05f Precision = 0.05f
}; };