1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-05 23:14:47 +08:00

Use "pausing supported" conditional instead

This commit is contained in:
Salman Ahmed
2021-02-22 16:26:35 +03:00
Unverified
parent 6bac83964a
commit 5e9040c291
+1 -1
View File
@@ -427,7 +427,7 @@ namespace osu.Game.Screens.Play
private void updatePauseOnFocusLostState()
{
if (!PauseOnFocusLost || DrawableRuleset.HasReplayLoaded.Value || breakTracker.IsBreakTime.Value)
if (!PauseOnFocusLost || pausingSupportedByCurrentState || breakTracker.IsBreakTime.Value)
return;
if (gameActive.Value == false)