1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 08:02:55 +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
parent a5d044067c
commit 7a6a614358
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49

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