aaaa
This commit is contained in:
@@ -248,7 +248,7 @@ public class RtsAI{
|
|||||||
for(var unit : units){
|
for(var unit : units){
|
||||||
if(unit.isCommandable() && !unit.command().hasCommand()){
|
if(unit.isCommandable() && !unit.command().hasCommand()){
|
||||||
if(defendPos != null){
|
if(defendPos != null){
|
||||||
unit.command().commandPosition(defendPos);
|
unit.command().commandPosition(defendPos, true);
|
||||||
}else{
|
}else{
|
||||||
//TODO stopAtTarget parameter could be false, could be tweaked
|
//TODO stopAtTarget parameter could be false, could be tweaked
|
||||||
unit.command().commandTarget(defendTarget == null ? build : defendTarget, defendTarget != null);
|
unit.command().commandTarget(defendTarget == null ? build : defendTarget, defendTarget != null);
|
||||||
|
|||||||
Reference in New Issue
Block a user