Merge pull request #1253 from NachtRaveVL/RouteNameFix

Adding route name fetch to getGroupRoute()
This commit is contained in:
Frank 2020-01-21 19:04:23 +01:00 committed by GitHub
commit cd34755036
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
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