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:
parent
a5d044067c
commit
7a6a614358
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user