mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fixed eplrs for frontline ground units
This commit is contained in:
parent
3df8fb5fe9
commit
db36a76c2c
@ -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], 'eprls'):
|
||||
if group.units[0].eprls:
|
||||
dcs_group.points[0].tasks.append(EPLRS(dcs_group.id))
|
||||
|
||||
if group.role == CombatGroupRole.ARTILLERY:
|
||||
# Fire on any ennemy in range
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user