mirror of
https://github.com/osukey/osukey.git
synced 2025-06-29 23:28:00 +09: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 (pauseOverlay == null) return false;
|
||||||
|
|
||||||
|
if (ReplayInputHandler != null) return false;
|
||||||
|
|
||||||
if (pauseOverlay.State != Visibility.Visible && !canPause) return true;
|
if (pauseOverlay.State != Visibility.Visible && !canPause) return true;
|
||||||
|
|
||||||
if (!IsPaused && sourceClock.IsRunning) // For if the user presses escape quickly when entering the map
|
if (!IsPaused && sourceClock.IsRunning) // For if the user presses escape quickly when entering the map
|
||||||
|
Loading…
x
Reference in New Issue
Block a user