Fix exception when trying to add extra waypoints

This commit is contained in:
Raffson 2022-12-16 22:16:45 +01:00
parent cd760c45a8
commit 8ea7656362
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99

View File

@ -68,7 +68,7 @@ class QPredefinedWaypointSelectionComboBox(QFilteredComboBox):
if self.include_frontlines:
for front_line in self.game.theater.conflicts():
pos = FrontLineConflictDescription.frontline_position(
front_line, self.game.theater
front_line, self.game.theater, self.game.settings
)[0]
wptname = f"Frontline {front_line.name} [CAS]"
wpt = FlightWaypoint(