mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 00:23:59 +09:00
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:
@ -839,7 +839,9 @@ namespace osu.Game
|
|||||||
OnHome = delegate
|
OnHome = delegate
|
||||||
{
|
{
|
||||||
CloseAllOverlays(false);
|
CloseAllOverlays(false);
|
||||||
menuScreen?.MakeCurrent();
|
|
||||||
|
if (menuScreen?.GetChildScreen() != null)
|
||||||
|
menuScreen.MakeCurrent();
|
||||||
},
|
},
|
||||||
}, topMostOverlayContent.Add);
|
}, topMostOverlayContent.Add);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user