Limit combo count to minimum 1 when using inversed

Avoids making the mod of no effect.
This commit is contained in:
Salman Ahmed 2021-08-01 20:59:29 +03:00
parent 026c632539
commit a26e7b2680

View File

@ -66,6 +66,11 @@ namespace osu.Game.Rulesets.Mods
Value = true
};
protected ModMuted()
{
InverseMuting.BindValueChanged(i => MuteComboCount.MinValue = i.NewValue ? 1 : 0, true);
}
public void ApplyToTrack(ITrack track)
{
track.AddAdjustment(AdjustableProperty.Volume, mainVolumeAdjust);