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:
parent
03297acbf4
commit
e4d1970abf
3 changed files with 8 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue