mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-14 02:27:21 -07:00
Fix: Quit Game (#2403)
* Fix quit implemention in console & window * Point to latest LUS * match lus from develop
This commit is contained in:
parent
1e2b60c6e0
commit
22efba8cd7
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue