I'll try it again. I ragequit that round when my shitty base got overrun by scavengers.
Wait no I alt-tabbed out and the next unit off the line worked fine. Might just be a pathing issue, my base is kinda cramped due to scavenger placement and I had some trucks near the repair.
and now it's happening again. I think what's going on is the commander goes to repair, isn't damaged and then starts barking orders because the fight is right outside my base. The tanks go shoot what the commander's shooting instead of repairing despite their mounting health loss.