mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 22:26:41 +09:00
Fix possible exit from non-current screen (#4663)
Fix possible exit from non-current screen Co-authored-by: Dean Herbert <pe@ppy.sh>
This commit is contained in:
@ -276,7 +276,7 @@ namespace osu.Game.Screens.Multi
|
||||
|
||||
updatePollingRate(isIdle.Value);
|
||||
|
||||
if (screenStack.CurrentScreen == null)
|
||||
if (screenStack.CurrentScreen == null && this.IsCurrentScreen())
|
||||
this.Exit();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user