From 75eb1984509f9fe90df49d7860269d8ad8473557 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Mon, 22 Apr 2019 12:13:42 +0200 Subject: [PATCH] modules/world: fix an oops in Actor2D --- gamecore/modules/world/actors/actor2D.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamecore/modules/world/actors/actor2D.lua b/gamecore/modules/world/actors/actor2D.lua index 3fea1fd..6465db6 100644 --- a/gamecore/modules/world/actors/actor2D.lua +++ b/gamecore/modules/world/actors/actor2D.lua @@ -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