Fix AAA not placed as frontline unit

- Spawn AAA like SHORAD
- change SA-19 unit class from AAA to SHORAD

fixes #2194
This commit is contained in:
RndName 2022-05-02 12:56:38 +02:00
parent 41d1ae099f
commit e4f91fd3ba
No known key found for this signature in database
GPG Key ID: 5EF516FD9537F7C0
3 changed files with 3 additions and 2 deletions

View File

@ -26,6 +26,7 @@ Saves from 5.x are not compatible with 6.0.
* **[Mission Generation]** Fixed an issue with SEAD missions flown by the AI when using the Skynet Plugin and anti-radiation missiles (ARM). The AI now correctly engages the SAM when it comes alive instead of diving into it.
* **[Mission Generation]** Fixed an issue where SEAD/DEAD/BAI flights fired all missiles / bombs against a single unit in a group instead of targeting the whole group.
* **[Mission Generation]** Fixed adding additional mission types for a squadron causing error messages when the mission type is not supported by the aircraft type by default
* **[Mission Generation]** AAA ground units now spawn correctly at the frontline
* **[UI]** Fixed and issue where the liberation main exe was still running after application close.
# 5.2.0

View File

@ -119,7 +119,7 @@ class GroundPlanner:
elif unit_class is UnitClass.ATGM:
collection = self.atgm_group
role = CombatGroupRole.ATGM
elif unit_class is UnitClass.SHORAD:
elif unit_class in [UnitClass.SHORAD, UnitClass.AAA]:
collection = self.shorad_groups
role = CombatGroupRole.SHORAD
elif unit_class is UnitClass.RECON:

View File

@ -1,4 +1,4 @@
class: AAA
class: SHORAD
description: "The 2K22 Tunguska (Russian: 2\u041A22 '\u0422\u0443\u043D\u0433\u0443\
\u0441\u043A\u0430') is a Russian tracked self-propelled anti-aircraft weapon armed\
\ with a surface-to-air gun and missile system. It is designed to provide day and\