From 22efba8cd7d5c5fc65e84dbf62576d738ef18476 Mon Sep 17 00:00:00 2001 From: David Chavez Date: Fri, 27 Jan 2023 02:10:00 +0100 Subject: [PATCH] Fix: Quit Game (#2403) * Fix quit implemention in console & window * Point to latest LUS * match lus from develop --- soh/soh/Enhancements/debugconsole.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 Console, const std: } static bool QuitHandler(std::shared_ptr Console, const std::vector& args) { - gPlayState->state.running = 0; + Ship::Window::GetInstance()->Close(); return CMD_SUCCESS; }