mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 18:52:55 +08: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…
Reference in New Issue
Block a user