modules/world: fix an oops in Actor2D

This commit is contained in:
Kazhnuz 2019-04-22 12:13:42 +02:00
parent 90458757e5
commit 75eb198450

View file

@ -103,7 +103,7 @@ end
function Actor2D:move(dx, dy)
local cols, colNumber
self.x, self.y, cols, colNumber = self.world:moveActor(self, newx, newy, self.filter)
self.x, self.y, cols, colNumber = self.world:moveActor(self, dx, dy, self.filter)
return self.x, self.y, cols, colNumber
end