From 5f071a6138a2a6c6a7190a2b38fd546c81c60623 Mon Sep 17 00:00:00 2001 From: Raffson Date: Thu, 30 Jun 2022 03:54:34 +0200 Subject: [PATCH] Add missing mission types for IADS targets. --- game/theater/theatergroundobject.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/game/theater/theatergroundobject.py b/game/theater/theatergroundobject.py index 17d488db..ae219e0d 100644 --- a/game/theater/theatergroundobject.py +++ b/game/theater/theatergroundobject.py @@ -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