aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/systemui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agi/systemui.cpp')
-rw-r--r--engines/agi/systemui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agi/systemui.cpp b/engines/agi/systemui.cpp
index c7ca7cd5d4..4698b75cd6 100644
--- a/engines/agi/systemui.cpp
+++ b/engines/agi/systemui.cpp
@@ -872,7 +872,7 @@ bool SystemUI::askForVerification(const char *verifyText, const char *button1Tex
_text->closeWindow();
- if (_askForVerificationCancelled)
+ if (_askForVerificationCancelled || _vm->shouldQuit())
return false;
return true;
}