From 59c85a486fa2c674d2236dd120e93e4de312d029 Mon Sep 17 00:00:00 2001 From: Anuken Date: Wed, 16 Dec 2020 19:47:40 -0500 Subject: [PATCH] Fixed phase deflect achievement --- core/src/mindustry/entities/comp/BulletComp.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }