Skip to content

Commit bf9be6c

Browse files
committed
Fix reconciler with init files, v0.2.2
1 parent 974ebc3 commit bf9be6c

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
## Current Master
44
* *No changes*
55

6+
## 0.2.2
7+
* Plugin only release
8+
* Fixed broken reconciliation behavior with `init` files
9+
610
## 0.2.1
711
* Plugin only release
812
* Changes default port to 8000

plugin/src/Config.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
return {
22
pollingRate = 0.3,
3-
version = "0.2.1",
3+
version = "0.2.2",
44
}

plugin/src/Reconciler.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ function Reconciler.reconcile(rbx, item, fileName, parent)
164164
for _, childRbx in ipairs(rbx:GetChildren()) do
165165
-- Child was deleted!
166166
if not visitedChildren[childRbx.Name] then
167-
Reconciler.reconcile(childRbx, nil, nil)
167+
childRbx:Destroy()
168168
end
169169
end
170170

0 commit comments

Comments
 (0)