mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fix exception when trying to add extra waypoints
This commit is contained in:
parent
cd760c45a8
commit
8ea7656362
@ -68,7 +68,7 @@ class QPredefinedWaypointSelectionComboBox(QFilteredComboBox):
|
|||||||
if self.include_frontlines:
|
if self.include_frontlines:
|
||||||
for front_line in self.game.theater.conflicts():
|
for front_line in self.game.theater.conflicts():
|
||||||
pos = FrontLineConflictDescription.frontline_position(
|
pos = FrontLineConflictDescription.frontline_position(
|
||||||
front_line, self.game.theater
|
front_line, self.game.theater, self.game.settings
|
||||||
)[0]
|
)[0]
|
||||||
wptname = f"Frontline {front_line.name} [CAS]"
|
wptname = f"Frontline {front_line.name} [CAS]"
|
||||||
wpt = FlightWaypoint(
|
wpt = FlightWaypoint(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user