mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-23 14:15:24 +00:00
Make sure all descendants get removed from the RouteMap
This commit is contained in:
@@ -57,6 +57,8 @@ function RouteMap:removeByRbx(rbx)
|
|||||||
self._reverseMap[rbx] = nil
|
self._reverseMap[rbx] = nil
|
||||||
self._connectionsByRbx[rbx] = nil
|
self._connectionsByRbx[rbx] = nil
|
||||||
end
|
end
|
||||||
|
|
||||||
|
self:removeRbxDescendants(rbx)
|
||||||
end
|
end
|
||||||
|
|
||||||
function RouteMap:removeRbxDescendants(parentRbx)
|
function RouteMap:removeRbxDescendants(parentRbx)
|
||||||
|
|||||||
Reference in New Issue
Block a user