1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-11 15:27:20 +08:00

Fix pause shortcut on multiplayer not delayed

This commit is contained in:
Salman Alshamrani 2024-11-24 04:24:31 -05:00
parent 354bc424a3
commit f3155bfc7d

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;
}