STARK: Enable exit to main menu in the book of secrets

This commit is contained in:
Douglas Liu 2018-06-29 22:10:25 +08:00
parent 6120877b99
commit 8121a28c91

View File

@ -460,8 +460,7 @@ Math::Vector3d Command::getObjectPosition(const ResourceReference &targetRef, in
}
Command *Command::opGameEnd() {
// TODO: Display the main menu instead of exiting
StarkUserInterface->notifyShouldExit();
StarkUserInterface->requestQuitToMainMenu();
return nextCommand();
}