mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Set the flight airfields based on the Squadron.
This commit is contained in:
@@ -308,6 +308,10 @@ class Squadron:
|
||||
def expected_size_next_turn(self) -> int:
|
||||
return self.owned_aircraft + self.pending_deliveries
|
||||
|
||||
@property
|
||||
def arrival(self) -> ControlPoint:
|
||||
return self.location if self.destination is None else self.destination
|
||||
|
||||
def plan_relocation(self, destination: ControlPoint) -> None:
|
||||
if destination == self.location:
|
||||
logging.warning(
|
||||
|
||||
Reference in New Issue
Block a user