UI: Use a UIState for exceptions.

This makes it so we can enable Stop/Reset/etc. during them in the menus.
This commit is contained in:
Unknown W. Brackets committed 2021-08-08 23:40:41 -07:00
1 parent 32c7ff8436
commit 75eeb55617
5 files changed
+11 -7

No files matched your search

+1
View File
@@ -131,6 +131,7 @@ void UpdateUIState(GlobalUIState newState) {
case UISTATE_INGAME: state = "ingame"; break;
case UISTATE_MENU: state = "menu"; break;
case UISTATE_PAUSEMENU: state = "pausemenu"; break;
case UISTATE_EXCEPTION: state = "exception"; break;
}
if (state) {
System_SendMessage("uistate", state);