diff --git a/core/src/mindustry/world/blocks/defense/turrets/ItemTurret.java b/core/src/mindustry/world/blocks/defense/turrets/ItemTurret.java index 5e37d32a97..1a709dc5a8 100644 --- a/core/src/mindustry/world/blocks/defense/turrets/ItemTurret.java +++ b/core/src/mindustry/world/blocks/defense/turrets/ItemTurret.java @@ -79,8 +79,8 @@ public class ItemTurret extends Turret{ @Override public float efficiency(Building build){ - //valid when there's any ammo in the turret - return build instanceof ItemTurretBuild it && !it.ammo.isEmpty() ? 1f : 0f; + //valid when it can shoot + return build instanceof ItemTurretBuild it && it.hasAmmo() ? 1f : 0f; } @Override