aboutsummaryrefslogtreecommitdiff
path: root/scumm/debugger.cpp
diff options
context:
space:
mode:
authorJonathan Gray2003-04-25 13:13:16 +0000
committerJonathan Gray2003-04-25 13:13:16 +0000
commit8137b70bdfb0d032e7e42c944888ea1e0bf33ef3 (patch)
tree6d210f35b5e393152944b12936b34965367fda5e /scumm/debugger.cpp
parent913f9d2eb1bb84a1386af6446c641248aad23227 (diff)
downloadscummvm-rg350-8137b70bdfb0d032e7e42c944888ea1e0bf33ef3.tar.gz
scummvm-rg350-8137b70bdfb0d032e7e42c944888ea1e0bf33ef3.tar.bz2
scummvm-rg350-8137b70bdfb0d032e7e42c944888ea1e0bf33ef3.zip
close console after we run a script
svn-id: r7104
Diffstat (limited to 'scumm/debugger.cpp')
-rw-r--r--scumm/debugger.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scumm/debugger.cpp b/scumm/debugger.cpp
index 182d1e8735..6118d03caa 100644
--- a/scumm/debugger.cpp
+++ b/scumm/debugger.cpp
@@ -420,6 +420,7 @@ bool ScummDebugger::Cmd_Script(int argc, const char** argv) {
_s->stopScriptNr(scriptnum);
} else if ((!strcmp(argv[2], "run")) || (!strcmp(argv[2], "start"))) {
_s->runScript(scriptnum, 0, 0, 0);
+ return false;
} else {
Debug_Printf("Unknown script command '%s'\n", argv[2]);
}