mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-27 19:35:24 +01:00
Allow SIGINT to kill mainmenu again
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user