mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Show active and available pilots in air wing view.
https://github.com/dcs-liberation/dcs_liberation/issues/276
This commit is contained in:
@@ -39,6 +39,10 @@ class SquadronDelegate(TwoColumnRowDelegate):
|
||||
)
|
||||
elif (row, column) == (1, 0):
|
||||
return self.squadron(index).nickname
|
||||
elif (row, column) == (1, 1):
|
||||
squadron = self.squadron(index)
|
||||
available = len(squadron.available_pilots)
|
||||
return f"{squadron.size} active pilots, {available} available"
|
||||
return ""
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user