Adding route name fetch to getGroupRoute()

This commit is contained in:
NachtRaveVL 2020-01-20 15:37:36 -08:00
parent 40a186c71d
commit cef20958d8
2 changed files with 10 additions and 0 deletions

View File

@ -6395,6 +6395,11 @@ do -- group tasks scope
for point_num, point in pairs(group_data.route.points) do
local routeData = {}
if env.mission.version > 7 then
routeData.name = env.getValueDictByKey(point.name)
else
routeData.name = point.name
end
if not point.point then
routeData.x = point.x
routeData.y = point.y

View File

@ -6395,6 +6395,11 @@ do -- group tasks scope
for point_num, point in pairs(group_data.route.points) do
local routeData = {}
if env.mission.version > 7 then
routeData.name = env.getValueDictByKey(point.name)
else
routeData.name = point.name
end
if not point.point then
routeData.x = point.x
routeData.y = point.y