mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fix deletion of waypoints.
`FlightPlan.waypoints` returns a list created from the iterator now, so removing items from that list does not actually alter the flight plan. Fixes https://github.com/Khopa/dcs_liberation/issues/489
This commit is contained in:
@@ -69,8 +69,6 @@ class FlightPlan:
|
||||
"""A list of all waypoints in the flight plan, in order."""
|
||||
return list(self.iter_waypoints())
|
||||
|
||||
|
||||
|
||||
def iter_waypoints(self) -> Iterator[FlightWaypoint]:
|
||||
"""Iterates over all waypoints in the flight plan, in order."""
|
||||
raise NotImplementedError
|
||||
|
||||
Reference in New Issue
Block a user