diff --git a/imperium-porcorum.love/scenes/levels/entities/bullet.lua b/imperium-porcorum.love/scenes/levels/entities/bullet.lua index 6a24fc3..c25c5b8 100644 --- a/imperium-porcorum.love/scenes/levels/entities/bullet.lua +++ b/imperium-porcorum.love/scenes/levels/entities/bullet.lua @@ -13,7 +13,7 @@ function Bullet:setFilter() if (other.type=="wall") then return 'touch' else - return nil + return 'cross' end end end diff --git a/imperium-porcorum.love/scenes/levels/entities/weapon.lua b/imperium-porcorum.love/scenes/levels/entities/weapon.lua index b4b8476..e1bd2c8 100644 --- a/imperium-porcorum.love/scenes/levels/entities/weapon.lua +++ b/imperium-porcorum.love/scenes/levels/entities/weapon.lua @@ -17,9 +17,9 @@ function Weapon:setFilter() elseif (other.type=="block") then return "touch" elseif (other.type=="ennemy") then - return "touch" + return "cross" else - return nil + return "cross" end end end