[FIXED] Returns nil for late activated templates we use to mark waypoint paths to use in the scripts.

This commit is contained in:
shaji 2025-04-16 19:59:13 +02:00
parent 6fdf9a649f
commit b2077bfc74

View File

@ -1842,7 +1842,6 @@ end
-- @param #GROUP self
-- @return #table
function GROUP:GetTemplateRoutePoints()
if not self or not self:IsAlive() then return end
local GroupName = self:GetName()
local template = _DATABASE:GetGroupTemplate(GroupName)
if template and template.route and template.route.points then