summaryrefslogtreecommitdiff
path: root/objects/Loot.lua
diff options
context:
space:
mode:
Diffstat (limited to 'objects/Loot.lua')
-rw-r--r--objects/Loot.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/objects/Loot.lua b/objects/Loot.lua
index aaadf7b..cfbfea8 100644
--- a/objects/Loot.lua
+++ b/objects/Loot.lua
@@ -27,6 +27,10 @@ function Loot:onContact(other)
end
end
+function Loot:placeInRoom()
+ G.BodyLifeCycleManager:create(self, config.lootSize, "static", true)
+end
+
function Loot:update(dt)
-- nothing yet
end