mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 11:47:24 +08:00
Increase ducking duration when selecting Mania ruleset
This commit is contained in:
parent
47aa2c2bfc
commit
f5071c205f
@ -122,7 +122,10 @@ namespace osu.Game.Overlays.Toolbar
|
||||
|
||||
rulesetSelectionChannel[r.NewValue] = channel;
|
||||
channel.Play();
|
||||
musicController?.DuckMomentarily(500, new DuckParameters { DuckDuration = 0 });
|
||||
|
||||
// Longer unduck delay for Mania sample
|
||||
int unduckDelay = r.NewValue.OnlineID == 3 ? 750 : 500;
|
||||
musicController?.DuckMomentarily(unduckDelay, new DuckParameters { DuckDuration = 0 });
|
||||
}
|
||||
|
||||
public override bool HandleNonPositionalInput => !Current.Disabled && base.HandleNonPositionalInput;
|
||||
|
Loading…
Reference in New Issue
Block a user