Only generate Combined Arms "Tactical Commander" slots for player side.

This commit is contained in:
Khopa 2018-09-22 13:33:31 +02:00
parent 056c397e68
commit c699567c73

View File

@ -92,8 +92,10 @@ class Operation:
# combined arms
self.mission.groundControl.pilot_can_control_vehicles = self.ca_slots > 0
self.mission.groundControl.blue_tactical_commander = self.ca_slots
self.mission.groundControl.red_tactical_commander = self.ca_slots
if self.game.player == "USA":
self.mission.groundControl.blue_tactical_commander = self.ca_slots
else:
self.mission.groundControl.red_tactical_commander = self.ca_slots
# ground infrastructure
self.groundobjectgen.generate()