This commit is contained in:
Anuken
2020-12-15 14:15:06 -05:00
parent 659c481c83
commit 6ab96e2787
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ public class FlyingAI extends AIController{
@Override
public void updateMovement(){
if(target != null && unit.hasWeapons() && command() == UnitCommand.attack){
if(unit.type.circleTarget){
if(!unit.type.circleTarget){
moveTo(target, unit.range() * 0.8f);
unit.lookAt(target);
}else{