modules/world: fix an oops in the actor parent

This commit is contained in:
Kazhnuz 2019-04-01 12:49:32 +02:00
parent 8ba5644fb2
commit 55aadc56c3
1 changed files with 1 additions and 1 deletions

View File

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