mirror of
https://github.com/ppy/osu.git
synced 2025-01-27 14:12:56 +08:00
Fix attempting to use "home" key binding while exiting game causing errors
This commit is contained in:
parent
c6c59f050c
commit
856dbbba69
@ -839,7 +839,9 @@ namespace osu.Game
|
||||
OnHome = delegate
|
||||
{
|
||||
CloseAllOverlays(false);
|
||||
menuScreen?.MakeCurrent();
|
||||
|
||||
if (menuScreen?.GetChildScreen() != null)
|
||||
menuScreen.MakeCurrent();
|
||||
},
|
||||
}, topMostOverlayContent.Add);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user