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 6e76f470..97d947c9 100644 --- a/script/vm/compiler.lua +++ b/script/vm/compiler.lua @@ -1285,6 +1285,9 @@ local compilerSwitch = util.switch() if source.node[1] ~= '_ENV' then return end + if not source.value then + return + end vm.setNode(source, vm.compileNode(source.value)) end) : case 'getglobal' |