mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
The UI won't stop you from aborting a flight that is already home, but that should also result in it re-completing again on the next tick. https://github.com/dcs-liberation/dcs_liberation/issues/1680
15 lines
285 B
Python
15 lines
285 B
Python
from abc import ABC
|
|
|
|
from dcs import Point
|
|
|
|
from game.ato.flightstate import FlightState
|
|
|
|
|
|
class AtDeparture(FlightState, ABC):
|
|
@property
|
|
def cancelable(self) -> bool:
|
|
return True
|
|
|
|
def estimate_position(self) -> Point:
|
|
return self.flight.departure.position
|