Moved getchildren from celestia to object class.

ver1_5_1
Chris Laurel 2003-05-06 09:51:33 +00:00
parent b44c1b22b6
commit 0100a47d9e
1 changed files with 1 additions and 1 deletions

View File

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