Skip to content

Commit df95bd0

Browse files
committed
#41 - fix crash on non-string script output in YYC compiler
1 parent a6e2bb3 commit df95bd0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rt-shell/objects/obj_shell/Create_0.gml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -379,9 +379,9 @@ function _execute_script(args, deferred = false) {
379379
array_push(history, consoleString);
380380
if (response != "") { array_push(output, ">" + consoleString); }
381381
}
382-
if (response != 0) {
382+
if (is_string(response)) {
383383
array_push(output, response);
384-
}
384+
}
385385

386386
self._update_positions();
387387
} else {

0 commit comments

Comments
 (0)