Improve waypoint names for BAI targets.

This commit is contained in:
Dan Albert 2020-11-16 22:37:19 -08:00
parent 9fb33526a7
commit 14dd8e43a4

View File

@ -717,7 +717,8 @@ class FlightPlanBuilder:
targets: List[StrikeTarget] = [] targets: List[StrikeTarget] = []
for group in location.groups: for group in location.groups:
targets.append(StrikeTarget(f"{group.id}", group)) targets.append(
StrikeTarget(f"{group.name} at {location.name}", group))
return self.strike_flightplan(flight, location, targets) return self.strike_flightplan(flight, location, targets)