1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-08 07:43:42 +08:00

Don't show pause menu when watching replays.

This commit is contained in:
Dean Herbert
2017-03-04 21:35:26 +09:00
Unverified
parent a5d044067c
commit 7a6a614358
+2
View File
@@ -315,6 +315,8 @@ namespace osu.Game.Screens.Play
{
if (pauseOverlay == null) return false;
if (ReplayInputHandler != null) return false;
if (pauseOverlay.State != Visibility.Visible && !canPause) return true;
if (!IsPaused && sourceClock.IsRunning) // For if the user presses escape quickly when entering the map