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:
parent
354bc424a3
commit
f3155bfc7d
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user