mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 23:53:51 +09:00
Use "pausing supported" conditional instead
This commit is contained in:
@ -427,7 +427,7 @@ namespace osu.Game.Screens.Play
|
|||||||
|
|
||||||
private void updatePauseOnFocusLostState()
|
private void updatePauseOnFocusLostState()
|
||||||
{
|
{
|
||||||
if (!PauseOnFocusLost || DrawableRuleset.HasReplayLoaded.Value || breakTracker.IsBreakTime.Value)
|
if (!PauseOnFocusLost || pausingSupportedByCurrentState || breakTracker.IsBreakTime.Value)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (gameActive.Value == false)
|
if (gameActive.Value == false)
|
||||||
|
Reference in New Issue
Block a user