mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Fall back to SEAD loadout for SEAD escort.
These usually do not need to differ.
This commit is contained in:
parent
1087069277
commit
16fff8d87a
@ -106,6 +106,9 @@ class Loadout:
|
|||||||
}
|
}
|
||||||
for flight_type, names in legacy_names.items():
|
for flight_type, names in legacy_names.items():
|
||||||
loadout_names[flight_type].extend(names)
|
loadout_names[flight_type].extend(names)
|
||||||
|
# A SEAD escort typically does not need a different loadout than a regular
|
||||||
|
# SEAD flight, so fall back to SEAD if needed.
|
||||||
|
loadout_names[FlightType.SEAD_ESCORT].extend(loadout_names[FlightType.SEAD])
|
||||||
yield from loadout_names[flight.flight_type]
|
yield from loadout_names[flight.flight_type]
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user