mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-21 05:06:29 +00:00
Fix duplication 0.4.x duplication bug for good
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
# Rojo Change Log
|
||||
|
||||
## 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)
|
||||
* 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
|
||||
self:_reconcileChildren(rbx, item)
|
||||
|
||||
if item.Route then
|
||||
self._routeMap:insert(item.Route, rbx)
|
||||
end
|
||||
|
||||
return rbx
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user