diff options
Diffstat (limited to 'script/vm/compiler.lua')
-rw-r--r-- | script/vm/compiler.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/script/vm/compiler.lua b/script/vm/compiler.lua index 5a30367a..c7d559b5 100644 --- a/script/vm/compiler.lua +++ b/script/vm/compiler.lua @@ -1228,6 +1228,9 @@ local compilerSwitch = util.switch() for i, loc in ipairs(source.keys) do local node = getReturn(source._iterator, i, source._iterArgs) if node then + if i == 1 then + node:removeOptional() + end vm.setNode(loc, node) end end |