mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Work in progress
This commit is contained in:
@@ -1084,7 +1084,7 @@ end
|
||||
function GROUP:GetTaskMission()
|
||||
self:F( self.GroupName )
|
||||
|
||||
return routines.utils.deepCopy( _DATABASE.Groups[self.GroupName].Template )
|
||||
return routines.utils.deepCopy( _DATABASE.Templates.Groups[self.GroupName].Template )
|
||||
end
|
||||
|
||||
--- Return the mission route of the group.
|
||||
@@ -1093,7 +1093,7 @@ end
|
||||
function GROUP:GetTaskRoute()
|
||||
self:F( self.GroupName )
|
||||
|
||||
return routines.utils.deepCopy( _DATABASE.Groups[self.GroupName].Template.route.points )
|
||||
return routines.utils.deepCopy( _DATABASE.Templates.Groups[self.GroupName].Template.route.points )
|
||||
end
|
||||
|
||||
--- Return the route of a group by using the @{Database#DATABASE} class.
|
||||
@@ -1117,7 +1117,7 @@ function GROUP:CopyRoute( Begin, End, Randomize, Radius )
|
||||
|
||||
self:T( { GroupName } )
|
||||
|
||||
local Template = _DATABASE.Groups[GroupName].Template
|
||||
local Template = _DATABASE.Templates.Groups[GroupName].Template
|
||||
|
||||
if Template then
|
||||
if not Begin then
|
||||
|
||||
Reference in New Issue
Block a user