This commit is contained in:
Insality 2020-10-15 22:16:15 +03:00
parent 89830a830e
commit cecd8c9d5a

View File

@ -206,7 +206,7 @@ function DruidInstance.remove(self, component)
-- Recursive remove all children of component -- Recursive remove all children of component
local children = component._meta.children local children = component._meta.children
for i = #children, 1, -1do for i = #children, 1, -1 do
self:remove(children[i]) self:remove(children[i])
local parent = children[i]:get_parent_component() local parent = children[i]:get_parent_component()
if parent then if parent then