mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 19:22:56 +08:00
Use "pausing supported" conditional instead
This commit is contained in:
parent
6bac83964a
commit
5e9040c291
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user