diff options
Diffstat (limited to 'script/vm')
-rw-r--r-- | script/vm/tracer.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/script/vm/tracer.lua b/script/vm/tracer.lua index a13d00e1..b526d087 100644 --- a/script/vm/tracer.lua +++ b/script/vm/tracer.lua @@ -282,6 +282,10 @@ local lookIntoChild = util.switch() ---@param topNode vm.node ---@param outNode? vm.node : call(function (tracer, action, topNode, outNode) + if action.type == 'loop' then + tracer:lookIntoChild(action.init, topNode) + tracer:lookIntoChild(action.max, topNode) + end if action[1] then tracer:lookIntoBlock(action, action.bstart, topNode:copy()) local lastAssign = tracer:getLastAssign(action.start, action.finish) |