mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Changes.
This commit is contained in:
@@ -1204,7 +1204,7 @@ function TASK:MenuMarkToGroup( TaskGroup )
|
||||
if TargetCoordinates then
|
||||
for TargetCoordinateID, TargetCoordinate in pairs( TargetCoordinates ) do
|
||||
local Report = REPORT:New():SetIndent( 0 )
|
||||
self.TaskInfo:Report( Report, "M", TaskGroup, TargetCoordinateID )
|
||||
self.TaskInfo:Report( Report, "M", TaskGroup, self )
|
||||
local MarkText = Report:Text( ", " )
|
||||
self:F( { Coordinate = TargetCoordinate, MarkText = MarkText } )
|
||||
TargetCoordinate:MarkToGroup( MarkText, TaskGroup )
|
||||
@@ -1214,7 +1214,7 @@ function TASK:MenuMarkToGroup( TaskGroup )
|
||||
local TargetCoordinate = self.TaskInfo:GetData( "Coordinate" ) -- Core.Point#COORDINATE
|
||||
if TargetCoordinate then
|
||||
local Report = REPORT:New():SetIndent( 0 )
|
||||
self.TaskInfo:Report( Report, "M", TaskGroup )
|
||||
self.TaskInfo:Report( Report, "M", TaskGroup, self )
|
||||
local MarkText = Report:Text( ", " )
|
||||
self:F( { Coordinate = TargetCoordinate, MarkText = MarkText } )
|
||||
TargetCoordinate:MarkToGroup( MarkText, TaskGroup )
|
||||
@@ -1751,7 +1751,7 @@ function TASK:ReportSummary( ReportGroup )
|
||||
-- Determine the status of the Task.
|
||||
Report:Add( "State: <" .. self:GetState() .. ">" )
|
||||
|
||||
self.TaskInfo:Report( Report, "S", ReportGroup )
|
||||
self.TaskInfo:Report( Report, "S", ReportGroup, self )
|
||||
|
||||
return Report:Text( ', ' )
|
||||
end
|
||||
@@ -1768,7 +1768,7 @@ function TASK:ReportOverview( ReportGroup )
|
||||
local TaskName = self:GetName()
|
||||
local Report = REPORT:New()
|
||||
|
||||
self.TaskInfo:Report( Report, "O", ReportGroup )
|
||||
self.TaskInfo:Report( Report, "O", ReportGroup, self )
|
||||
|
||||
return Report:Text()
|
||||
end
|
||||
@@ -1852,7 +1852,7 @@ function TASK:ReportDetails( ReportGroup )
|
||||
Report:AddIndent( Players )
|
||||
end
|
||||
|
||||
self.TaskInfo:Report( Report, "D", ReportGroup )
|
||||
self.TaskInfo:Report( Report, "D", ReportGroup, self )
|
||||
|
||||
return Report:Text()
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user