diff --git a/core/src/mindustry/ai/RtsAI.java b/core/src/mindustry/ai/RtsAI.java index 78b6635121..044b4a330f 100644 --- a/core/src/mindustry/ai/RtsAI.java +++ b/core/src/mindustry/ai/RtsAI.java @@ -248,7 +248,7 @@ public class RtsAI{ for(var unit : units){ if(unit.isCommandable() && !unit.command().hasCommand()){ if(defendPos != null){ - unit.command().commandPosition(defendPos); + unit.command().commandPosition(defendPos, true); }else{ //TODO stopAtTarget parameter could be false, could be tweaked unit.command().commandTarget(defendTarget == null ? build : defendTarget, defendTarget != null);