diff options
Diffstat (limited to 'script/vm/compiler.lua')
-rw-r--r-- | script/vm/compiler.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/compiler.lua b/script/vm/compiler.lua index 37042d76..e361d706 100644 --- a/script/vm/compiler.lua +++ b/script/vm/compiler.lua @@ -1012,7 +1012,7 @@ local function compileLocal(source) -- for x in ... do if source.parent.type == 'in' then compileForVars(source.parent) - local keyNode = source.parent._iterVars[source] + local keyNode = source.parent._iterVars and source.parent._iterVars[source] if keyNode then vm.setNode(source, keyNode) end |