Exit menu on quit

This commit is contained in:
simon.kagstrom 2010-01-30 16:55:21 +00:00
parent a94a198424
commit 01084938ba

View File

@ -26,7 +26,10 @@ class ExitListener : public DialogueListener
{
/* Cancel? */
if (selected != 1)
{
Gui::gui->exitMenu();
exit(0);
}
}
};