mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-20 17:41:37 +00:00
Fix duplication 0.4.x duplication bug for good
This commit is contained in:
parent
bad0e67266
commit
b448e8007e
2 changed files with 6 additions and 1 deletions
|
|
@ -1,7 +1,8 @@
|
||||||
# Rojo Change Log
|
# Rojo Change Log
|
||||||
|
|
||||||
## Current Master
|
## Current Master
|
||||||
*No changes*
|
* Fixed instances that were reconciled not being inserted into the RouteMap.
|
||||||
|
* The reconciler is still not a perfect solution, especially if script instances get moved around without being destroyed. I don't think this can be fixed before a big refactor.
|
||||||
|
|
||||||
## 0.4.1 (April 1, 2018)
|
## 0.4.1 (April 1, 2018)
|
||||||
* Merged plugin repository into main Rojo repository for easier tracking.
|
* Merged plugin repository into main Rojo repository for easier tracking.
|
||||||
|
|
|
||||||
|
|
@ -161,6 +161,10 @@ function Reconciler:reconcile(rbx, item)
|
||||||
-- Use a dumb algorithm for reconciling children
|
-- Use a dumb algorithm for reconciling children
|
||||||
self:_reconcileChildren(rbx, item)
|
self:_reconcileChildren(rbx, item)
|
||||||
|
|
||||||
|
if item.Route then
|
||||||
|
self._routeMap:insert(item.Route, rbx)
|
||||||
|
end
|
||||||
|
|
||||||
return rbx
|
return rbx
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue