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.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/node.lua b/script/vm/node.lua
index f6d86949..cec0a36f 100644
--- a/script/vm/node.lua
+++ b/script/vm/node.lua
@@ -61,7 +61,7 @@ end
---@return boolean
function mt:isTyped()
for _, c in ipairs(self) do
- if c.type == 'global' and c.cate == 'variable' then
+ if c.type == 'global' and c.cate == 'type' then
return true
end
if guide.isLiteral(c) then