mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Add missing mission types for IADS targets.
This commit is contained in:
parent
def611ef89
commit
5f071a6138
@ -626,3 +626,7 @@ class IadsBuildingGroundObject(BuildingGroundObject):
|
|||||||
|
|
||||||
if not self.is_friendly(for_player):
|
if not self.is_friendly(for_player):
|
||||||
yield from [FlightType.STRIKE, FlightType.DEAD]
|
yield from [FlightType.STRIKE, FlightType.DEAD]
|
||||||
|
skippers = [FlightType.STRIKE] # prevent yielding twice
|
||||||
|
for mission_type in super().mission_types(for_player):
|
||||||
|
if mission_type not in skippers:
|
||||||
|
yield mission_type
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user