Make patrol stance pursue targets

This commit is contained in:
Anuken
2025-01-28 22:34:07 -05:00
parent 4cf9d54c3d
commit a7f38ac2a6
4 changed files with 19 additions and 6 deletions

View File

@@ -762,7 +762,7 @@ public class MobileInput extends InputHandler implements GestureListener{
}
//validate commanding units
selectedUnits.removeAll(u -> !u.isCommandable() || !u.isValid());
selectedUnits.removeAll(u -> !u.isCommandable() || !u.isValid() || u.team != player.team());
if(!commandMode){
commandBuildings.clear();