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
|
||||
|
||||
|
||||
if ModeA2A then
|
||||
if ModeA2A == true then
|
||||
return self:ToStringA2A( Controllable, Settings )
|
||||
else
|
||||
return self:ToStringA2G( Controllable, Settings )
|
||||
|
||||
@ -1589,8 +1589,9 @@ function TASK:ReportDetails( ReportGroup )
|
||||
Report:Add( TaskInfoIDText .. TaskInfo.TaskInfoText )
|
||||
elseif type(TaskInfo) == "table" then
|
||||
if TaskInfoID == "Coordinates" then
|
||||
local FromCoordinate = ReportGroup:GetUnit(1):GetCoordinate()
|
||||
local ToCoordinate = TaskInfo.TaskInfoText -- Core.Point#COORDINATE
|
||||
Report:Add( TaskInfoIDText .. ToCoordinate:ToString() )
|
||||
Report:Add( TaskInfoIDText .. ToCoordinate:ToString( ReportGroup:GetUnit(1), nil, self ) )
|
||||
else
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user