1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-11 17:51:04 +00:00

Fix game pause in singleplayer

This commit is contained in:
BlockMen 2014-03-13 14:06:18 +01:00
parent 03297acbf4
commit e4d1970abf
3 changed files with 8 additions and 0 deletions

View file

@ -2320,6 +2320,7 @@ bool GUIFormSpecMenu::OnEvent(const SEvent& event)
kp == getKeySetting("keymap_inventory")))
{
if (m_allowclose){
doPause = false;
acceptInput(quit_mode_cancel);
quitMenu();
} else {