mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-22 17:32:19 -05: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
@ -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…
Reference in New Issue
Block a user