1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-21 07:09:53 +08:00

Merge pull request #30423 from nekodex/ruleset-selection-duck-tweak

Increase ducking duration when selecting Mania ruleset
This commit is contained in:
Dean Herbert
2024-11-06 18:56:26 +09:00
committed by GitHub
Unverified
2 changed files with 5 additions and 2 deletions
@@ -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;
+1 -1
View File
@@ -36,7 +36,7 @@
</PackageReference>
<PackageReference Include="Realm" Version="11.5.0" />
<PackageReference Include="ppy.osu.Framework" Version="2024.1025.0" />
<PackageReference Include="ppy.osu.Game.Resources" Version="2024.1003.0" />
<PackageReference Include="ppy.osu.Game.Resources" Version="2024.1106.0" />
<PackageReference Include="Sentry" Version="4.12.1" />
<!-- Held back due to 0.34.0 failing AOT compilation on ZstdSharp.dll dependency. -->
<PackageReference Include="SharpCompress" Version="0.38.0" />