Update core/src/mindustry/entities/bullet/BulletType.java

Co-authored-by: Anuken <arnukren@gmail.com>
This commit is contained in:
genNAowl
2020-10-05 13:10:46 -07:00
committed by GitHub
parent f9d6ef8e91
commit 68e67ae0f2

View File

@@ -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){