- Fixes A2A dispatching

- Fixes problem with target marking.
This commit is contained in:
FlightControl_Master
2018-03-13 12:16:59 +01:00
parent 2bc7a8c126
commit f5a2183808
5 changed files with 99 additions and 161 deletions

View File

@@ -323,18 +323,33 @@ function TASKINFO:Report( Report, Detail, ReportGroup )
local DataText = Data.Data -- #string
Text = DataText
end
if Key == "Friendlies" then
local DataText = Data.Data -- #string
Text = DataText
end
if Key == "Players" then
local DataText = Data.Data -- #string
Text = DataText
end
if Line < math.floor( Data.Order / 10 ) then
if Line == 0 then
Report:AddIndent( LineReport:Text( ", " ), "-" )
if Text ~= "" then
Report:AddIndent( LineReport:Text( ", " ), "-" )
end
else
Report:AddIndent( LineReport:Text( ", " ) )
if Text ~= "" then
Report:AddIndent( LineReport:Text( ", " ) )
end
end
LineReport = REPORT:New()
Line = math.floor( Data.Order / 10 )
end
LineReport:Add( ( Key and ( Key .. ":" ) or "" ) .. Text )
if Text ~= "" then
LineReport:Add( ( Key and ( Key .. ":" ) or "" ) .. Text )
end
end
end
Report:AddIndent( LineReport:Text( ", " ) )