From 68e67ae0f20a8c71129385c519d21e95bc79a88a Mon Sep 17 00:00:00 2001 From: genNAowl <68400583+genNAowl@users.noreply.github.com> Date: Mon, 5 Oct 2020 13:10:46 -0700 Subject: [PATCH] Update core/src/mindustry/entities/bullet/BulletType.java Co-authored-by: Anuken --- core/src/mindustry/entities/bullet/BulletType.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/mindustry/entities/bullet/BulletType.java b/core/src/mindustry/entities/bullet/BulletType.java index 55ab9de42f..008be4523c 100644 --- a/core/src/mindustry/entities/bullet/BulletType.java +++ b/core/src/mindustry/entities/bullet/BulletType.java @@ -142,7 +142,7 @@ public abstract class BulletType extends Content{ } public boolean collides(Bullet bullet, Building tile){ - return healPercent == 0f ? true : (tile.team != bullet.team || tile.healthf() < 1f); + return healPercent <= 0.001f || tile.team != bullet.team || tile.healthf() < 1f; } public void hitTile(Bullet b, Building tile, float initialHealth){