Remove bindable from ModeMultiplier

This commit is contained in:
mk-56
2022-01-24 09:07:07 +01:00
parent ed84ae0ac0
commit 161a2a321e
5 changed files with 9 additions and 25 deletions

View File

@ -33,13 +33,9 @@ namespace osu.Game.Rulesets.Catch.Mods
Precision = 0.1f
};
protected override BindableNumber<float> ModeMultiplier { get; } = new BindableNumber<float>
{
Default = 350,
Value = 350,
};
protected override float ModeMultiplier => 350;
public override Flashlight CreateFlashlight() => new CatchFlashlight(playfield, ChangeRadius.Value, InitialRadius.Value, ModeMultiplier.Value);
public override Flashlight CreateFlashlight() => new CatchFlashlight(playfield, ChangeRadius.Value, InitialRadius.Value, ModeMultiplier);
private CatchPlayfield playfield;