diff options
| -rw-r--r-- | soh/soh/Enhancements/debugconsole.cpp | 2 |
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; } |
