diff --git a/core/src/mindustry/entities/comp/BulletComp.java b/core/src/mindustry/entities/comp/BulletComp.java index 6a8ab4783a..a51a30dfd7 100644 --- a/core/src/mindustry/entities/comp/BulletComp.java +++ b/core/src/mindustry/entities/comp/BulletComp.java @@ -110,7 +110,7 @@ abstract class BulletComp implements Timedc, Damagec, Hitboxc, Teamc, Posc, Draw type.hitEntity(self(), other, health); - if(owner instanceof WallBuild && player != null && team != player.team() && other instanceof Unit unit && unit.dead){ + if(owner instanceof WallBuild && player != null && team == player.team() && other instanceof Unit unit && unit.dead){ Events.fire(Trigger.phaseDeflectHit); } }