mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
@@ -276,3 +276,15 @@ class Flight(SidcDescribable):
|
||||
|
||||
self._flight_plan_builder.regenerate()
|
||||
EventStream.put_nowait(GameUpdateEvents().update_flight(self))
|
||||
|
||||
@staticmethod
|
||||
def clone_flight(flight: Flight) -> Flight:
|
||||
return Flight(
|
||||
flight.package,
|
||||
flight.country,
|
||||
flight.squadron,
|
||||
flight.count,
|
||||
flight.flight_type,
|
||||
flight.start_type,
|
||||
flight.divert,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user