1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-05 03:03:21 +08:00

Merge pull request #30861 from frenzibyte/fix-multiplayer-missing-hold-delay

Fix pause shortcut on multiplayer no longer requiring hold
This commit is contained in:
Dean Herbert 2024-11-25 16:22:56 +09:00 committed by GitHub
commit 82bdd8fbfc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -299,7 +299,13 @@ namespace osu.Game.Screens.Play.HUD
{
case GlobalAction.Back:
if (!pendingAnimation)
Confirm();
{
if (IsDangerousAction)
BeginConfirm();
else
Confirm();
}
return true;
case GlobalAction.PauseGameplay:
@ -307,7 +313,13 @@ namespace osu.Game.Screens.Play.HUD
if (ReplayLoaded.Value) return false;
if (!pendingAnimation)
Confirm();
{
if (IsDangerousAction)
BeginConfirm();
else
Confirm();
}
return true;
}