aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lab/engine.cpp')
-rw-r--r--engines/lab/engine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lab/engine.cpp b/engines/lab/engine.cpp
index 2916186541..69ebae6548 100644
--- a/engines/lab/engine.cpp
+++ b/engines/lab/engine.cpp
@@ -741,7 +741,7 @@ static void mainGameLoop() {
WSDL_ProcessInput(1);
if (GotMessage) {
- if (QuitLab) {
+ if (QuitLab || g_engine->shouldQuit()) {
stopDiff();
break;
}