mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Improve detection of functional radar SAMs.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1109
This commit is contained in:
@@ -833,7 +833,7 @@ class CoalitionMissionPlanner:
|
||||
for flight in builder.package.flights:
|
||||
if self.threat_zones.threatened_by_aircraft(flight):
|
||||
threats[EscortType.AirToAir] = True
|
||||
if self.threat_zones.threatened_by_air_defense(flight):
|
||||
if self.threat_zones.threatened_by_radar_sam(flight):
|
||||
threats[EscortType.Sead] = True
|
||||
return threats
|
||||
|
||||
|
||||
Reference in New Issue
Block a user