diff options
Diffstat (limited to 'script')
-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 995fe395..374ada92 100644 --- a/script/vm/compiler.lua +++ b/script/vm/compiler.lua @@ -714,7 +714,7 @@ function vm.selectNode(list, index) else ---@type vm.node result = vm.compileNode(exp) - if exp.type == 'varargs' and result:isEmpty() then + if result:isEmpty() then result:merge(vm.declareGlobal('type', 'unknown')) end end |