mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
more explicity waypoint namespace
This commit is contained in:
parent
103f18191d
commit
e6af1b8645
@ -1211,7 +1211,7 @@ class PydcsWaypointBuilder:
|
||||
waypoint.name = String(self.waypoint.name)
|
||||
tot = self.flight.flight_plan.tot_for_waypoint(self.waypoint)
|
||||
if tot is not None:
|
||||
self.set_waypoint_tot(waypoint, tot)
|
||||
waypoint = self.set_waypoint_tot(waypoint, tot)
|
||||
return waypoint
|
||||
|
||||
def set_waypoint_tot(self, waypoint: MovingPoint, tot: timedelta) -> None:
|
||||
@ -1220,6 +1220,7 @@ class PydcsWaypointBuilder:
|
||||
waypoint.ETA = int(tot.total_seconds())
|
||||
waypoint.ETA_locked = True
|
||||
waypoint.speed_locked = False
|
||||
return waypoint
|
||||
|
||||
@classmethod
|
||||
def for_waypoint(cls, waypoint: FlightWaypoint, group: FlyingGroup,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user