real real bugfix
This commit is contained in:
parent
a3074acb3c
commit
9be52e2b5f
@ -9,8 +9,8 @@ end
|
||||
function getAncestors(self)
|
||||
local family = self
|
||||
local list = {}
|
||||
while family.__index ~= nil and family.__index ~= family do
|
||||
family = family.__index
|
||||
while family ~= nil do
|
||||
family = getmetatable(family)
|
||||
table.insert(list,family)
|
||||
end
|
||||
return list
|
||||
|
Loading…
Reference in New Issue
Block a user