diff --git a/gamecore/modules/world/actors/actor2D.lua b/gamecore/modules/world/actors/actor2D.lua index ed20ae8..270ce3c 100644 --- a/gamecore/modules/world/actors/actor2D.lua +++ b/gamecore/modules/world/actors/actor2D.lua @@ -30,8 +30,8 @@ local Actor2D = BaseActor:extend() -- Initialise the actor and its base functions function Actor2D:new(world, type, x, y, w, h, isSolid) - Actor2D.super.new(self, world, type, isSolid) self:initHitbox(x, y, w, h) + Actor2D.super.new(self, world, type, isSolid) self:initPhysics() self:register() end