Fix reconciler with init files, v0.2.2

This commit is contained in:
Lucien Greathouse
2017-12-01 15:18:36 -08:00
parent 974ebc33c2
commit bf9be6ccae
3 changed files with 6 additions and 2 deletions

View File

@@ -164,7 +164,7 @@ function Reconciler.reconcile(rbx, item, fileName, parent)
for _, childRbx in ipairs(rbx:GetChildren()) do
-- Child was deleted!
if not visitedChildren[childRbx.Name] then
Reconciler.reconcile(childRbx, nil, nil)
childRbx:Destroy()
end
end