Update Turret.java
This commit is contained in:
@@ -237,7 +237,7 @@ public abstract class Turret extends Block{
|
||||
canShoot = unit.isShooting();
|
||||
}else if(logicControlled()){ //logic behavior
|
||||
canShoot = logicShooting;
|
||||
}else if(peekAmmo() != null){ //default AI behavior
|
||||
}else{ //default AI behavior
|
||||
BulletType type = peekAmmo();
|
||||
float speed = type.speed;
|
||||
//slow bullets never intersect
|
||||
|
||||
Reference in New Issue
Block a user