mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user