Fixed EPLRS cherry pick merge.

This commit is contained in:
Khopa
2020-10-05 19:33:48 +02:00
parent 819d775282
commit 2a3bf9821b
3 changed files with 7 additions and 4 deletions

View File

@@ -1,5 +1,8 @@
# 2.1.5
## Features/Improvements :
* **[Units/Factions]** Enabled EPLRS for ground units that supports it (so they appear on A-10C II TAD and Helmet)
## Fixes :
* **[UI]** Fixed an issue that prevent saving after aborting a mission
* **[Mission Generator]** Fixed aircraft landing point type being wrong

View File

@@ -184,9 +184,9 @@ class GroundConflictGenerator:
for dcs_group, group in ally_groups:
if hasattr(group.unit_type, 'eplrs'):
if group.unit_type.eplrs:
group.points[0].tasks.append(EPLRS(group.id))
if hasattr(group.units[0], 'eplrs'):
if group.units[0].eplrs:
dcs_group.points[0].tasks.append(EPLRS(dcs_group.id))
if group.role == CombatGroupRole.ARTILLERY:
# Fire on any ennemy in range

2
pydcs

Submodule pydcs updated: ceea62a8e0...c203e5a1b8