mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Modified Planned Flights in airfield command to show startup type
This commit is contained in:
parent
d29f5a26a1
commit
5b4ed979b1
@ -285,7 +285,9 @@ class Flight(
|
||||
return self.__str__()
|
||||
|
||||
def __str__(self) -> str:
|
||||
string = f"[{self.flight_type}] {self.count} x {self.unit_type}"
|
||||
string = (
|
||||
f"[{self.flight_type}] {self.count} x {self.unit_type} - {self.start_type}"
|
||||
)
|
||||
if self.custom_name:
|
||||
return f"{self.custom_name} - {string}"
|
||||
return string
|
||||
|
||||
@ -13,3 +13,6 @@ class StartType(Enum):
|
||||
WARM = "Warm"
|
||||
RUNWAY = "Runway"
|
||||
IN_FLIGHT = "In Flight"
|
||||
|
||||
def __str__(self) -> str:
|
||||
return f"{self.value}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user