mirror of https://github.com/ppy/osu
Merge pull request #20205 from peppy/fix-go-home-during-exit
Fix attempting to use "home" key binding while exiting game causing errors
This commit is contained in:
commit
fd6d67d0f6
|
@ -839,7 +839,9 @@ protected override void LoadComplete()
|
|||
OnHome = delegate
|
||||
{
|
||||
CloseAllOverlays(false);
|
||||
menuScreen?.MakeCurrent();
|
||||
|
||||
if (menuScreen?.GetChildScreen() != null)
|
||||
menuScreen.MakeCurrent();
|
||||
},
|
||||
}, topMostOverlayContent.Add);
|
||||
|
||||
|
|
Loading…
Reference in New Issue