mirror of
https://github.com/akaAgar/the-universal-mission-for-dcs-world.git
synced 2025-11-25 19:31:01 +00:00
Fixed bugs and tweaked wording in attack tasking/report messages
This commit is contained in:
@@ -711,7 +711,7 @@ do
|
||||
-- Pick the unit name highest in priority
|
||||
local groupName = nil
|
||||
for _,n in ipairs(GROUP_PRIORITY) do
|
||||
if DCSEx.table.contains(unitNames) then
|
||||
if DCSEx.table.contains(unitNames, n) then
|
||||
groupName = n
|
||||
break
|
||||
end
|
||||
@@ -719,7 +719,7 @@ do
|
||||
if not groupName then return "unknown" end
|
||||
|
||||
if groupName == "SAM search radar" or groupName == "SAM launcher" or groupName == "SAM tracking radar" then
|
||||
return "SAM vehicle"
|
||||
return "SAM element"
|
||||
end
|
||||
|
||||
return groupName
|
||||
|
||||
Reference in New Issue
Block a user