Fix flip-flopped arguments in RouteMap:_removeInternal

This commit is contained in:
Lucien Greathouse
2018-05-25 23:40:34 -07:00
parent c856a3e361
commit 6ad763fc01
2 changed files with 3 additions and 3 deletions

View File

@@ -47,7 +47,7 @@ function RouteMap:removeByRoute(route)
local rbx = self._map[hashedRoute]
if rbx ~= nil then
self:_removeInternal(hashedRoute, rbx)
self:_removeInternal(rbx, hashedRoute)
end
end
@@ -55,7 +55,7 @@ function RouteMap:removeByRbx(rbx)
local hashedRoute = self._reverseMap[rbx]
if hashedRoute ~= nil then
self:_removeInternal(hashedRoute, rbx)
self:_removeInternal(rbx, hashedRoute)
end
end