Close current player.gui.center windows on escape.
Posted: Mon Oct 21, 2019 8:30 pm
When player presses escape - current central window is automatically closed, next escape press - pause menu.
I wish it could be a thing for custom frames.
It can be property like 'close_on_menu_toggle' on LuaGuiElement for type = 'frame'.
I wish it could be a thing for custom frames.
It can be property like 'close_on_menu_toggle' on LuaGuiElement for type = 'frame'.
