mirror of
https://github.com/ppy/osu
synced 2024-12-11 01:19:26 +00: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
|
||||
};
|
||||
|
||||
protected ModMuted()
|
||||
{
|
||||
InverseMuting.BindValueChanged(i => MuteComboCount.MinValue = i.NewValue ? 1 : 0, true);
|
||||
}
|
||||
|
||||
public void ApplyToTrack(ITrack track)
|
||||
{
|
||||
track.AddAdjustment(AdjustableProperty.Volume, mainVolumeAdjust);
|
||||
|
Loading…
Reference in New Issue
Block a user