More info on unit control responsibility (#7016)

* do

* net.active()
This commit is contained in:
Ilya246 2022-06-18 02:19:17 +04:00 committed by GitHub
parent c5fdd34eb7
commit 99f55ae64c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 17 additions and 3 deletions

View file

@ -234,6 +234,7 @@ public abstract class InputHandler implements InputProcessor, GestureListener{
ai.commandPosition(posTarget);
}
}
unit.lastCommanded = player.coloredName();
}
if(unitIds.length > 0 && player == Vars.player){