mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Merge pull request #2282 from shaji-Dev/master
[FIXED] Returns nil for late activated templates we use to mark paths to use in our scripts
This commit is contained in:
commit
5d93b33d42
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user