bugfix
This commit is contained in:
parent
f0a9c1acf9
commit
59726dc2b7
@ -10,8 +10,8 @@ function getAncestors(self)
|
||||
local family = self
|
||||
local list = {}
|
||||
while family.__index ~= nil do
|
||||
table.insert(list,family.__index.type)
|
||||
family = family.__index
|
||||
table.insert(list,family)
|
||||
end
|
||||
return list
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user