mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-20 17:41:37 +00:00
Make sure all descendants get removed from the RouteMap
This commit is contained in:
parent
78de30dcf2
commit
c0f4b31ab3
1 changed files with 2 additions and 0 deletions
|
|
@ -57,6 +57,8 @@ function RouteMap:removeByRbx(rbx)
|
|||
self._reverseMap[rbx] = nil
|
||||
self._connectionsByRbx[rbx] = nil
|
||||
end
|
||||
|
||||
self:removeRbxDescendants(rbx)
|
||||
end
|
||||
|
||||
function RouteMap:removeRbxDescendants(parentRbx)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue