diff --git a/gamecore/modules/world/actors/actor2D.lua b/gamecore/modules/world/actors/actor2D.lua index 5ce8610..5211215 100644 --- a/gamecore/modules/world/actors/actor2D.lua +++ b/gamecore/modules/world/actors/actor2D.lua @@ -7,6 +7,8 @@ function Actor2D:new(world, type, x, y, w, h) self.w = w or 0 self.h = h or 0 self.type = type or "" + + self:register() end function Actor2D:register()