Adding route name fetch to getGroupRoute()

This commit is contained in:
NachtRaveVL 2020-01-20 15:28:03 -08:00
parent ff0f62c01b
commit c72625c60f

View File

@ -1631,6 +1631,11 @@ function routines.getGroupRoute(groupIdent, task) -- same as getGroupPoints bu
for point_num, point in pairs(group_data.route.points) do for point_num, point in pairs(group_data.route.points) do
local routeData = {} 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 if not point.point then
routeData.x = point.x routeData.x = point.x
routeData.y = point.y routeData.y = point.y