Fix: Quit Game (#2403)

* Fix quit implemention in console & window

* Point to latest LUS

* match lus from develop
This commit is contained in:
David Chavez
2023-01-27 02:10:00 +01:00
committed by GitHub
parent 1e2b60c6e0
commit 22efba8cd7

View File

@@ -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;
}