EPLRS typo fixed

This commit is contained in:
Khopa
2020-10-04 14:11:28 +02:00
parent 5ecf9aeed8
commit 6317f376b7
4 changed files with 26 additions and 28 deletions

View File

@@ -184,9 +184,8 @@ class GroundConflictGenerator:
for dcs_group, group in ally_groups:
# TODO : REPLACE EPRLS BY EPLRS once fix implemented in pydcs
if hasattr(group.units[0], 'eprls'):
if group.units[0].eprls:
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: