mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Add support for some extra loadout types.
Also fixes the bug that @Starfire13 spotted in Khopa/dcs_liberation#744.
This commit is contained in:
@@ -46,6 +46,7 @@ class QPylonEditor(QComboBox):
|
||||
def default_loadout(self, pylon: Pylon) -> None:
|
||||
self.flight.unit_type.load_payloads()
|
||||
pylon_default_weapon = None
|
||||
loadout = None
|
||||
# Iterate through each possible payload type for a given aircraft.
|
||||
# Some aircraft have custom loadouts that in aren't the standard set.
|
||||
for payload_override in db.EXPANDED_TASK_PAYLOAD_OVERRIDE.get(self.flight.flight_type.name):
|
||||
|
||||
Reference in New Issue
Block a user