From 55aadc56c3e5463f7689f888f67e97aaf8c52a4e Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Mon, 1 Apr 2019 12:49:32 +0200 Subject: [PATCH] modules/world: fix an oops in the actor parent --- 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 2cc8002..5ce8610 100644 --- a/gamecore/modules/world/actors/actor2D.lua +++ b/gamecore/modules/world/actors/actor2D.lua @@ -1,6 +1,6 @@ local Actor2D = Object:extend() -function Actor2D:new(world, type, x, h, w, h) +function Actor2D:new(world, type, x, y, w, h) self.world = world self.x = x or 0 self.y = y or 0