summaryrefslogtreecommitdiff
path: root/script/vm/type.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/vm/type.lua')
-rw-r--r--script/vm/type.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/type.lua b/script/vm/type.lua
index 59663b6b..ed7eba16 100644
--- a/script/vm/type.lua
+++ b/script/vm/type.lua
@@ -153,7 +153,7 @@ function vm.isSubType(uri, child, parent, mark)
end
-- check class parent
- if childName and not mark[childName] then
+ if childName and not mark[childName] and not guide.isBasicType(childName) then
mark[childName] = true
local childClass = vm.getGlobal('type', childName)
if childClass then