Make sure all descendants get removed from the RouteMap

This commit is contained in:
Lucien Greathouse
2018-05-21 10:40:06 -07:00
parent 78de30dcf2
commit c0f4b31ab3

View File

@@ -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)