diff --git a/gen/flights/flight.py b/gen/flights/flight.py index 36e5d720..9b659c5f 100644 --- a/gen/flights/flight.py +++ b/gen/flights/flight.py @@ -84,6 +84,9 @@ class FlightWaypoint: self.alt = alt self.alt_type = "BARO" self.name = "" + # TODO: Merge with pretty_name. + # Only used in the waypoint list in the flight edit page. No sense + # having three names. A short and long form is enough. self.description = "" self.targets: List[MissionTarget] = [] self.obj_name = "" diff --git a/gen/flights/waypointbuilder.py b/gen/flights/waypointbuilder.py index ee1b494a..2d5ca9d8 100644 --- a/gen/flights/waypointbuilder.py +++ b/gen/flights/waypointbuilder.py @@ -456,8 +456,8 @@ class WaypointBuilder: altitude ) waypoint.name = "NAV" - waypoint.description = "" - waypoint.pretty_name = "" + waypoint.description = "NAV" + waypoint.pretty_name = "Nav" return waypoint def nav_path(self, a: Point, b: Point,