summaryrefslogtreecommitdiff
path: root/script/vm/node.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/vm/node.lua')
-rw-r--r--script/vm/node.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/script/vm/node.lua b/script/vm/node.lua
index e15788a5..7964c442 100644
--- a/script/vm/node.lua
+++ b/script/vm/node.lua
@@ -175,6 +175,12 @@ function mt:setFalsy()
hasBoolean = true
table.remove(self, index)
self[c] = nil
+ goto CONTINUE
+ end
+ if (c.type == 'global' and c.cate == 'type') then
+ table.remove(self, index)
+ self[c] = nil
+ goto CONTINUE
end
::CONTINUE::
end