aboutsummaryrefslogtreecommitdiff
path: root/engines/made/scriptfuncs_rtz.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/made/scriptfuncs_rtz.cpp')
-rw-r--r--engines/made/scriptfuncs_rtz.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/made/scriptfuncs_rtz.cpp b/engines/made/scriptfuncs_rtz.cpp
index 2cf0e3bc03..7dd8246df0 100644
--- a/engines/made/scriptfuncs_rtz.cpp
+++ b/engines/made/scriptfuncs_rtz.cpp
@@ -222,8 +222,7 @@ int16 ScriptFunctionsRtz::o1_EVENT(int16 argc, int16 *argv) {
break;
case Common::EVENT_QUIT:
- // TODO: Exit more gracefully.
- g_system->quit();
+ _vm->_quit = true;
break;
default: