From be01dd710eaaf74562ea4479d171055af10f1e91 Mon Sep 17 00:00:00 2001 From: Eltrac Date: Thu, 13 Mar 2025 14:36:18 +0800 Subject: fix: loots blocking the way set loots as sensor to allow contact listen but avoid physical collision --- objects/Loot.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'objects') diff --git a/objects/Loot.lua b/objects/Loot.lua index 7cf3959..8a2d162 100644 --- a/objects/Loot.lua +++ b/objects/Loot.lua @@ -12,7 +12,7 @@ function Loot:new(name, x, y) } setmetatable(obj, Loot) - G.BodyLifeCycleManager:create(obj, config.lootSize, "static") + G.BodyLifeCycleManager:create(obj, config.lootSize, "static", true) return obj end -- cgit v1.2.3