mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-20 17:41:37 +00:00
Fix reconciler with init files, v0.2.2
This commit is contained in:
parent
974ebc33c2
commit
bf9be6ccae
3 changed files with 6 additions and 2 deletions
|
|
@ -3,6 +3,10 @@
|
||||||
## Current Master
|
## Current Master
|
||||||
* *No changes*
|
* *No changes*
|
||||||
|
|
||||||
|
## 0.2.2
|
||||||
|
* Plugin only release
|
||||||
|
* Fixed broken reconciliation behavior with `init` files
|
||||||
|
|
||||||
## 0.2.1
|
## 0.2.1
|
||||||
* Plugin only release
|
* Plugin only release
|
||||||
* Changes default port to 8000
|
* Changes default port to 8000
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
return {
|
return {
|
||||||
pollingRate = 0.3,
|
pollingRate = 0.3,
|
||||||
version = "0.2.1",
|
version = "0.2.2",
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -164,7 +164,7 @@ function Reconciler.reconcile(rbx, item, fileName, parent)
|
||||||
for _, childRbx in ipairs(rbx:GetChildren()) do
|
for _, childRbx in ipairs(rbx:GetChildren()) do
|
||||||
-- Child was deleted!
|
-- Child was deleted!
|
||||||
if not visitedChildren[childRbx.Name] then
|
if not visitedChildren[childRbx.Name] then
|
||||||
Reconciler.reconcile(childRbx, nil, nil)
|
childRbx:Destroy()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue