Work in progress

This commit is contained in:
Sven Van de Velde
2016-05-10 20:01:45 +02:00
parent 37ec8c294f
commit db2cc49b85
7 changed files with 36 additions and 34 deletions

View File

@@ -1737,7 +1737,7 @@ function routines.getGroupRoute(groupIdent, task) -- same as getGroupPoints bu
-- refactor to search by groupId and allow groupId and groupName as inputs
local gpId = groupIdent
if type(groupIdent) == 'string' and not tonumber(groupIdent) then
gpId = _DATABASE.Groups[groupIdent].groupId
gpId = _DATABASE.Templates.Groups[groupIdent].groupId
end
for coa_name, coa_data in pairs(env.mission.coalition) do