mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-25 21:14:22 +01:00
Exit menu on quit
This commit is contained in:
parent
a94a198424
commit
01084938ba
@ -26,7 +26,10 @@ class ExitListener : public DialogueListener
|
||||
{
|
||||
/* Cancel? */
|
||||
if (selected != 1)
|
||||
{
|
||||
Gui::gui->exitMenu();
|
||||
exit(0);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user