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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user