Skip to content

Commit

Permalink
#41 - fix crash on non-string script output in YYC compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
nickavv committed May 15, 2022
1 parent a6e2bb3 commit df95bd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rt-shell/objects/obj_shell/Create_0.gml
Original file line number Diff line number Diff line change
Expand Up @@ -379,9 +379,9 @@ function _execute_script(args, deferred = false) {
array_push(history, consoleString);
if (response != "") { array_push(output, ">" + consoleString); }
}
if (response != 0) {
if (is_string(response)) {
array_push(output, response);
}
}

self._update_positions();
} else {
Expand Down

0 comments on commit df95bd0

Please sign in to comment.