hotfix: attack plane/helo flightgroup var accessed without declaration

This commit is contained in:
spencer-ki 2022-03-01 09:16:17 -08:00
parent 58bdc17b00
commit c6462073c9

View File

@ -631,7 +631,7 @@ class RotorOpsMission:
else:
return
if source_helo:
if source_helo and afg:
for unit in afg.units:
unit.pylons = source_helo.pylons
unit.livery_id = source_helo.livery_id