mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Allow SIGINT to kill mainmenu again
This commit is contained in:
@@ -109,7 +109,8 @@ public:
|
||||
gui::IGUIElement* parent,
|
||||
IMenuManager *menumgr,
|
||||
scene::ISceneManager* smgr,
|
||||
MainMenuData* data);
|
||||
MainMenuData* data,
|
||||
bool& kill);
|
||||
|
||||
/** default destructor */
|
||||
virtual ~GUIEngine();
|
||||
@@ -159,6 +160,9 @@ private:
|
||||
/** the formspec menu */
|
||||
GUIFormSpecMenu* m_menu;
|
||||
|
||||
/** reference to kill variable managed by SIGINT handler */
|
||||
bool& m_kill;
|
||||
|
||||
/** variable used to abort menu and return back to main game handling */
|
||||
bool m_startgame;
|
||||
|
||||
|
Reference in New Issue
Block a user