mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
EPLRS typo fixed
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -81,9 +81,8 @@ class GroundObjectsGenerator:
|
||||
vehicle.player_can_drive = True
|
||||
vg.add_unit(vehicle)
|
||||
|
||||
#TODO : REPLACE EPRLS BY EPLRS once fix implemented in pydcs
|
||||
if hasattr(utype, 'eprls'):
|
||||
if utype.eprls:
|
||||
if hasattr(utype, 'eplrs'):
|
||||
if utype.eplrs:
|
||||
vg.points[0].tasks.append(EPLRS(vg.id))
|
||||
else:
|
||||
vg = self.m.ship_group(side, g.name, utype, position=g.position,
|
||||
|
||||
Reference in New Issue
Block a user