mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Allow SIGINT to kill mainmenu again
This commit is contained in:
parent
4242782dc2
commit
ade70fe4b9
5 changed files with 11 additions and 15 deletions
|
@ -131,11 +131,7 @@ int ModApiMainMenu::l_close(lua_State *L)
|
|||
GUIEngine* engine = getGuiEngine(L);
|
||||
assert(engine != 0);
|
||||
|
||||
engine->m_data->kill = true;
|
||||
|
||||
//close menu next time
|
||||
engine->m_startgame = true;
|
||||
engine->m_menu->quitMenu();
|
||||
engine->m_kill = true;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue