mirror of
https://github.com/PixelGuys/Cubyz.git
synced 2025-08-03 03:06:55 -04:00
Set the selected window to null in toggleGameMenu
This caused a bug when pressing escape instead of left-click to return to the game. fixes #1691 fixes #1655
This commit is contained in:
parent
fe687be59f
commit
31d62f77ee
@ -580,6 +580,7 @@ pub fn toggleGameMenu() void {
|
||||
}
|
||||
}
|
||||
reorderWindows = false;
|
||||
selectedWindow = null;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user