Add missing mission types for IADS targets.

This commit is contained in:
Raffson
2022-06-30 03:54:34 +02:00
committed by GitHub
parent def611ef89
commit 5f071a6138

View File

@@ -626,3 +626,7 @@ class IadsBuildingGroundObject(BuildingGroundObject):
if not self.is_friendly(for_player):
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