This commit is contained in:
Applevangelist
2022-08-31 17:32:41 +02:00
parent c99a7b6666
commit 5f5749ac8f
2 changed files with 8 additions and 7 deletions

View File

@@ -1908,11 +1908,12 @@ function PLAYERTASKCONTROLLER:_AddTask(Target)
targetobject:ForEachGroup(
function (group)
local attribute = group:GetAttribute()
if self:_IsAttributeSead(attribute) then
type = AUFTRAG.Type.SEAD
--ttstype = "suppress air defense"
ttstype = self.gettext:GetEntry("SEADTTS",self.locale)
end
if self:_IsAttributeSead(attribute) then
type = AUFTRAG.Type.SEAD
--ttstype = "suppress air defense"
ttstype = self.gettext:GetEntry("SEADTTS",self.locale)
end
end
)
elseif targetobject:IsInstanceOf("SET_UNIT") then
self:T("SEAD Check SET_UNIT")