mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
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:
parent
46bf952562
commit
52b9656a1a
@ -367,9 +367,6 @@ class AircraftConflictGenerator:
|
|||||||
for unit, pilot in zip(group.units, flight.roster.pilots):
|
for unit, pilot in zip(group.units, flight.roster.pilots):
|
||||||
player = pilot is not None and pilot.player
|
player = pilot is not None and pilot.player
|
||||||
self.set_skill(unit, pilot, blue=flight.departure.captured)
|
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
|
code: Optional[int] = None
|
||||||
if flight.loadout.has_weapon_of_type(WeaponTypeEnum.TGP) and player:
|
if flight.loadout.has_weapon_of_type(WeaponTypeEnum.TGP) and player:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user