Moved getchildren from celestia to object class.
parent
b44c1b22b6
commit
0100a47d9e
|
@ -13,7 +13,7 @@ function visit(o)
|
|||
celestia:flash(o:type() .. " - " .. o:name())
|
||||
goto(o, 3)
|
||||
wait(0.5)
|
||||
local children = celestia:getchildren(o)
|
||||
local children = o:getchildren()
|
||||
for i, v in ipairs(children) do
|
||||
visit(v)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue