mirror of
https://github.com/osukey/osukey.git
synced 2025-05-21 05:27:17 +09:00
Limit combo count to minimum 1 when using inversed
Avoids making the mod of no effect.
This commit is contained in:
parent
026c632539
commit
a26e7b2680
@ -66,6 +66,11 @@ namespace osu.Game.Rulesets.Mods
|
|||||||
Value = true
|
Value = true
|
||||||
};
|
};
|
||||||
|
|
||||||
|
protected ModMuted()
|
||||||
|
{
|
||||||
|
InverseMuting.BindValueChanged(i => MuteComboCount.MinValue = i.NewValue ? 1 : 0, true);
|
||||||
|
}
|
||||||
|
|
||||||
public void ApplyToTrack(ITrack track)
|
public void ApplyToTrack(ITrack track)
|
||||||
{
|
{
|
||||||
track.AddAdjustment(AdjustableProperty.Volume, mainVolumeAdjust);
|
track.AddAdjustment(AdjustableProperty.Volume, mainVolumeAdjust);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user