Remove no-op code.

We won't have set late activation until after this function is called,
and that part does it correctly by checking the player preferences.
This commit is contained in:
Dan Albert 2021-10-22 11:28:23 -07:00
parent 46bf952562
commit 52b9656a1a

View File

@ -367,9 +367,6 @@ class AircraftConflictGenerator:
for unit, pilot in zip(group.units, flight.roster.pilots):
player = pilot is not None and pilot.player
self.set_skill(unit, pilot, blue=flight.departure.captured)
# Do not generate player group with late activation.
if player and group.late_activation:
group.late_activation = False
code: Optional[int] = None
if flight.loadout.has_weapon_of_type(WeaponTypeEnum.TGP) and player: