summaryrefslogtreecommitdiff
path: root/script/vm/compiler.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/vm/compiler.lua')
-rw-r--r--script/vm/compiler.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/script/vm/compiler.lua b/script/vm/compiler.lua
index 6932a8c8..37042d76 100644
--- a/script/vm/compiler.lua
+++ b/script/vm/compiler.lua
@@ -1313,6 +1313,8 @@ local compilerSwitch = util.switch()
else
vm.setNode(src, vm.compileNode(src.value), true)
end
+ else
+ vm.setNode(src, node, true)
end
return vm.getNode(src)
elseif src.type == 'getlocal' then