diff --git a/changelog.md b/changelog.md index 53ef9a69..58236f14 100644 --- a/changelog.md +++ b/changelog.md @@ -39,6 +39,7 @@ Saves from 4.x are not compatible with 5.0. * **[Mission Generation]** AI carrier aircraft with a start time of T+0 will now start at T+1s to avoid traffic jams. * **[Mission Generation]** Fixed cases of unused aircraft not being spawned at airfields as soon as any airport filled up. * **[Mission Generation]** Fixed cases with multiple client flights of the same airframe all received the same preset channels. +* **[Mission Generation]** F-14A is now generated with stored alignment. * **[UI]** Selling of Units is now visible again in the UI dialog and shows the correct amount of sold units * **[UI]** Fixed bug where an incompatible campaign could be generated if no action is taken on the campaign selection screen. diff --git a/game/missiongenerator/aircraft/flightgroupconfigurator.py b/game/missiongenerator/aircraft/flightgroupconfigurator.py index 7bb30b9c..2fc72899 100644 --- a/game/missiongenerator/aircraft/flightgroupconfigurator.py +++ b/game/missiongenerator/aircraft/flightgroupconfigurator.py @@ -6,7 +6,7 @@ from typing import Any, Optional, TYPE_CHECKING from dcs import Mission from dcs.flyingunit import FlyingUnit -from dcs.planes import F_14B +from dcs.planes import F_14A_135_GR, F_14B from dcs.unit import Skill from dcs.unitgroup import FlyingGroup @@ -117,6 +117,8 @@ class FlightGroupConfigurator: laser_codes.append(None) if unit.unit_type is F_14B: unit.set_property(F_14B.Properties.INSAlignmentStored.id, True) + elif unit.unit_type is F_14A_135_GR: + unit.set_property(F_14A_135_GR.Properties.INSAlignmentStored.id, True) def setup_radios(self) -> RadioFrequency: if self.flight.flight_type in {FlightType.AEWC, FlightType.REFUELING}: