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 5a078e70..7a89cbf4 100644 --- a/script/vm/compiler.lua +++ b/script/vm/compiler.lua @@ -1270,7 +1270,7 @@ local compilerSwitch = util.switch() ---@cast key string vm.compileByParentNode(source.node, key, function (src) vm.setNode(source, vm.compileNode(src)) - if src == source and source.value then + if src == source and source.value and source.value.type ~= 'nil' then vm.setNode(source, vm.compileNode(source.value)) end end) |