Fix targeting SAMs with strike missions.

The changes for Skynet unfortunately broke this because the names used
by the TGO and the name of the group itself were no longer in sync.
This deserves a larger cleanup where we decouple that naming
requirement (TGOs don't need a lot of the data they currently have),
but this works until we have the time to do that.

Fixes https://github.com/Khopa/dcs_liberation/issues/298
This commit is contained in:
Dan Albert
2020-11-06 18:08:40 -08:00
parent 853ee5aac4
commit 56b51c85bb
6 changed files with 32 additions and 25 deletions

View File

@@ -72,10 +72,10 @@ if dcsLiberation and SkynetIADS then
end
--add EW units to the IADS:
iads:addEarlyWarningRadarsByPrefix(coalitionPrefix .. " EW")
iads:addEarlyWarningRadarsByPrefix(coalitionPrefix .. "|EWR|")
--add SAM groups to the IADS:
iads:addSAMSitesByPrefix(coalitionPrefix .. " SAM")
iads:addSAMSitesByPrefix(coalitionPrefix .. "|SAM|")
-- specific configurations, for each SAM type
if actAsEwr then