LAB: Check for engine quit events
This commit is contained in:
parent
4cf271054a
commit
cc0baf48ed
2 changed files with 8 additions and 2 deletions
|
@ -741,7 +741,7 @@ static void mainGameLoop() {
|
|||
WSDL_ProcessInput(1);
|
||||
|
||||
if (GotMessage) {
|
||||
if (QuitLab) {
|
||||
if (QuitLab || g_engine->shouldQuit()) {
|
||||
stopDiff();
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue