mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-03-11 09:20:51 -07:00
Fixed bombers stopping when patrolling
This commit is contained in:
parent
fbf8b2bff1
commit
d759e71edc
1 changed files with 1 additions and 1 deletions
|
|
@ -214,7 +214,7 @@ public class CommandAI extends AIController{
|
|||
}
|
||||
|
||||
//TODO: should the unit stop when it finds a target?
|
||||
if(stance == UnitStance.patrol && target != null && unit.within(target, unit.type.range - 2f)){
|
||||
if(stance == UnitStance.patrol && target != null && unit.within(target, unit.type.range - 2f) && !unit.type.circleTarget){
|
||||
move = false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue