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

@@ -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,