summaryrefslogtreecommitdiff
path: root/objects/Door.lua
diff options
context:
space:
mode:
Diffstat (limited to 'objects/Door.lua')
-rw-r--r--objects/Door.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/objects/Door.lua b/objects/Door.lua
index 04a934b..343b2c3 100644
--- a/objects/Door.lua
+++ b/objects/Door.lua
@@ -22,6 +22,7 @@ end
function Door:new(location, within, to)
local obj = {
+ objectType = "door",
location = location,
size = config.graphics.doorSize,
thickness = config.graphics.doorThickness,
@@ -33,7 +34,6 @@ function Door:new(location, within, to)
setmetatable(obj, Door)
calculateDoorLocation(obj)
- G.BodyLifeCycleManager:create(obj, { obj.w, obj.h }, "static")
return obj
end