mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Fixed detailed report following settings of player
* Detailed task report now follows coordinate format settings of player.
This commit is contained in:
parent
6799cd776e
commit
df7ffc2a3f
@ -1072,7 +1072,7 @@ do -- COORDINATE
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
if ModeA2A then
|
if ModeA2A == true then
|
||||||
return self:ToStringA2A( Controllable, Settings )
|
return self:ToStringA2A( Controllable, Settings )
|
||||||
else
|
else
|
||||||
return self:ToStringA2G( Controllable, Settings )
|
return self:ToStringA2G( Controllable, Settings )
|
||||||
|
|||||||
@ -1589,8 +1589,9 @@ function TASK:ReportDetails( ReportGroup )
|
|||||||
Report:Add( TaskInfoIDText .. TaskInfo.TaskInfoText )
|
Report:Add( TaskInfoIDText .. TaskInfo.TaskInfoText )
|
||||||
elseif type(TaskInfo) == "table" then
|
elseif type(TaskInfo) == "table" then
|
||||||
if TaskInfoID == "Coordinates" then
|
if TaskInfoID == "Coordinates" then
|
||||||
|
local FromCoordinate = ReportGroup:GetUnit(1):GetCoordinate()
|
||||||
local ToCoordinate = TaskInfo.TaskInfoText -- Core.Point#COORDINATE
|
local ToCoordinate = TaskInfo.TaskInfoText -- Core.Point#COORDINATE
|
||||||
Report:Add( TaskInfoIDText .. ToCoordinate:ToString() )
|
Report:Add( TaskInfoIDText .. ToCoordinate:ToString( ReportGroup:GetUnit(1), nil, self ) )
|
||||||
else
|
else
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user