Basic unit boost command support

This commit is contained in:
Anuken
2023-02-11 17:40:57 -05:00
parent 946e36c66e
commit ec8262418f
9 changed files with 81 additions and 21 deletions

View File

@@ -514,7 +514,7 @@ public class PlacementFragment{
//find the command that all units have, or null if they do not share one
for(var unit : control.input.selectedUnits){
if(unit.isCommandable()){
var nextCommand = unit.command().currentCommand();
var nextCommand = unit.command().command;
if(hadCommand){
if(shareCommand != nextCommand){