Quit working

This commit is contained in:
Tleety
2016-03-14 04:25:20 +01:00
parent 5879cb0de4
commit 5679a88ddb
3 changed files with 2781 additions and 2774 deletions
+2
View File
@@ -135,6 +135,8 @@ bool MainMenuSystem::OnInputCommand(const Events::InputCommand& e)
OpenSubMenu(e);
} else if (e.Command == "Resolution" && e.Value == 1) {
OpenDropDown(e);
} else if (e.Command == "Quit" && e.Value == 1) {
exit(EXIT_FAILURE);
}
return true;
}