summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Chavez <david@dcvz.io>2023-01-27 02:10:00 +0100
committerGitHub <noreply@github.com>2023-01-26 20:10:00 -0500
commit22efba8cd7d5c5fc65e84dbf62576d738ef18476 (patch)
treea02fc5c49cba9c8cb9d95f5156cbf606951d5c23
parent1e2b60c6e0e5fa92f66858a5f3f94ffc352b13fe (diff)
Fix: Quit Game (#2403)
* Fix quit implemention in console & window * Point to latest LUS * match lus from develop
-rw-r--r--soh/soh/Enhancements/debugconsole.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/soh/soh/Enhancements/debugconsole.cpp b/soh/soh/Enhancements/debugconsole.cpp
index 88748370a..7dbc6d6a0 100644
--- a/soh/soh/Enhancements/debugconsole.cpp
+++ b/soh/soh/Enhancements/debugconsole.cpp
@@ -454,7 +454,7 @@ static bool FileSelectHandler(std::shared_ptr<Ship::Console> Console, const std:
}
static bool QuitHandler(std::shared_ptr<Ship::Console> Console, const std::vector<std::string>& args) {
- gPlayState->state.running = 0;
+ Ship::Window::GetInstance()->Close();
return CMD_SUCCESS;
}