mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-09 20:29:06 +07:00
Fixed #3493 but for point defense turrets
This commit is contained in:
parent
06921b53be
commit
522a7f4728
@ -96,8 +96,6 @@ public class PointDefenseTurret extends ReloadTurret{
|
||||
shootSound.at(x + Tmp.v1.x, y + Tmp.v1.y, Mathf.random(0.9f, 1.1f));
|
||||
reload = 0;
|
||||
}
|
||||
}else{
|
||||
target = null;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -76,8 +76,6 @@ public class TractorBeamTurret extends BaseTurret{
|
||||
target = Units.closestEnemy(team, x, y, range, u -> u.checkTarget(targetAir, targetGround));
|
||||
}
|
||||
|
||||
Log.info(target);
|
||||
|
||||
//consume coolant
|
||||
if(target != null && acceptCoolant){
|
||||
float maxUsed = consumes.<ConsumeLiquidBase>get(ConsumeType.liquid).amount;
|
||||
|
Loading…
Reference in New Issue
Block a user