summaryrefslogtreecommitdiff
path: root/script/vm/runner.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/vm/runner.lua')
-rw-r--r--script/vm/runner.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/vm/runner.lua b/script/vm/runner.lua
index e7851b49..5d561677 100644
--- a/script/vm/runner.lua
+++ b/script/vm/runner.lua
@@ -153,6 +153,7 @@ function mt:_lookInto(action, topNode, outNode)
local neverReturn = subBlock.hasReturn
or subBlock.hasGoTo
or subBlock.hasBreak
+ or subBlock.hasError
if not neverReturn then
blockNodes[#blockNodes+1] = blockNode
end