Erekir rebalance / RTS AI improvements

This commit is contained in:
Anuken
2022-02-28 18:50:04 -05:00
parent 91a7c9179c
commit b28f027080
3 changed files with 50 additions and 8 deletions

View File

@@ -115,6 +115,8 @@ public class DesktopInput extends InputHandler{
}
if(commandMode){
//happens sometimes
selectedUnits.removeAll(u -> !u.isCommandable());
//draw command overlay UI
for(Unit unit : selectedUnits){