mirror of
https://github.com/ppy/osu.git
synced 2025-03-12 17:47:46 +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:
|
case GlobalAction.Back:
|
||||||
if (!pendingAnimation)
|
if (!pendingAnimation)
|
||||||
Confirm();
|
{
|
||||||
|
if (IsDangerousAction)
|
||||||
|
BeginConfirm();
|
||||||
|
else
|
||||||
|
Confirm();
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
case GlobalAction.PauseGameplay:
|
case GlobalAction.PauseGameplay:
|
||||||
@ -307,7 +313,13 @@ namespace osu.Game.Screens.Play.HUD
|
|||||||
if (ReplayLoaded.Value) return false;
|
if (ReplayLoaded.Value) return false;
|
||||||
|
|
||||||
if (!pendingAnimation)
|
if (!pendingAnimation)
|
||||||
Confirm();
|
{
|
||||||
|
if (IsDangerousAction)
|
||||||
|
BeginConfirm();
|
||||||
|
else
|
||||||
|
Confirm();
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user