This commit is contained in:
binarycat 2022-03-16 20:34:23 -04:00
parent f0a9c1acf9
commit 59726dc2b7

View File

@ -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