Quit working
This commit is contained in:
@@ -13,6 +13,7 @@
|
|||||||
#include "Input/EInputCommand.h"
|
#include "Input/EInputCommand.h"
|
||||||
#include "Network/ESearchForServers.h"
|
#include "Network/ESearchForServers.h"
|
||||||
#include "Network/EConnectRequest.h"
|
#include "Network/EConnectRequest.h"
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
|
||||||
class MainMenuSystem : public ImpureSystem
|
class MainMenuSystem : public ImpureSystem
|
||||||
|
|||||||
+2778
-2774
File diff suppressed because it is too large
Load Diff
@@ -135,6 +135,8 @@ bool MainMenuSystem::OnInputCommand(const Events::InputCommand& e)
|
|||||||
OpenSubMenu(e);
|
OpenSubMenu(e);
|
||||||
} else if (e.Command == "Resolution" && e.Value == 1) {
|
} else if (e.Command == "Resolution" && e.Value == 1) {
|
||||||
OpenDropDown(e);
|
OpenDropDown(e);
|
||||||
|
} else if (e.Command == "Quit" && e.Value == 1) {
|
||||||
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user