mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Fixes issue #410
-- SpawnScheduleStart and SpawnScheduleStop now return self -- Proper documentation -- SPA-023 test mission added.
This commit is contained in:
parent
58935ec1e2
commit
989df023fb
@ -944,17 +944,23 @@ end
|
||||
|
||||
--- Will re-start the spawning scheduler.
|
||||
-- Note: This method is only required to be called when the schedule was stopped.
|
||||
-- @param #SPAWN self
|
||||
-- @return #SPAWN
|
||||
function SPAWN:SpawnScheduleStart()
|
||||
self:F( { self.SpawnTemplatePrefix } )
|
||||
|
||||
self.SpawnScheduler:Start()
|
||||
return self
|
||||
end
|
||||
|
||||
--- Will stop the scheduled spawning scheduler.
|
||||
-- @param #SPAWN self
|
||||
-- @return #SPAWN
|
||||
function SPAWN:SpawnScheduleStop()
|
||||
self:F( { self.SpawnTemplatePrefix } )
|
||||
|
||||
self.SpawnScheduler:Stop()
|
||||
return self
|
||||
end
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user