Fix: Quit Game (#2403)
* Fix quit implemention in console & window * Point to latest LUS * match lus from develop
This commit is contained in:
@@ -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) {
|
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;
|
return CMD_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user