mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-21 11:55:43 +02:00
Mainmenu: Fix error after ESC in dialog windows (#16130)
The error was caused by fd857374
, where 'MenuQuit' was processed after 'try_quit'.
This commit fixes the error by moving the special 'MenuQuit' handling to Lua.
This commit is contained in:
@@ -4053,7 +4053,6 @@ void GUIFormSpecMenu::tryClose()
|
||||
quitMenu();
|
||||
} else {
|
||||
acceptInput(quit_mode_try);
|
||||
m_text_dst->gotText(L"MenuQuit");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user