mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Enable EPLRS for ground units that can use it.
This commit is contained in:
parent
6e14ec3227
commit
07d4b126f5
@ -183,6 +183,11 @@ class GroundConflictGenerator:
|
||||
return
|
||||
|
||||
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 group.role == CombatGroupRole.ARTILLERY:
|
||||
# Fire on any ennemy in range
|
||||
if self.game.settings.perf_artillery:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user