aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/mads/nebular/game_nebular.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/mads/nebular/game_nebular.cpp b/engines/mads/nebular/game_nebular.cpp
index c96f1c6df9..e9a3d0b716 100644
--- a/engines/mads/nebular/game_nebular.cpp
+++ b/engines/mads/nebular/game_nebular.cpp
@@ -107,6 +107,9 @@ void GameNebular::startGame() {
_vm->_dialogs->showDialog();
} while (!_vm->shouldQuit() && _vm->_dialogs->_pendingDialog != DIALOG_NONE);
+ if (_vm->shouldQuit())
+ return;
+
_priorSectionNumber = 0;
_priorSectionNumber = -1;
_scene._priorSceneId = 0;