Scheduler

- Fixed bug
This commit is contained in:
Frank
2021-11-16 10:33:35 +01:00
parent 5e94b0c009
commit c0f5dc2dc8
2 changed files with 5 additions and 5 deletions

View File

@@ -902,7 +902,7 @@ do -- Scheduling
]]
-- NOTE: MasterObject (first parameter) needs to be nil or it will be the first argument passed to the SchedulerFunction!
local ScheduleID = self.Scheduler:Schedule(self, SchedulerFunction, {...}, Start, nil, nil, nil)
local ScheduleID = self.Scheduler:Schedule(nil, SchedulerFunction, {...}, Start)
self._.Schedules[#self._.Schedules+1] = ScheduleID
@@ -931,9 +931,9 @@ do -- Scheduling
self.Scheduler = SCHEDULER:New( self )
end
-- NOTE: MasterObject (first parameter) should(!) be nil as it will be the first argument passed to the SchedulerFunction!s
-- NOTE: MasterObject (first parameter) should(!) be nil as it will be the first argument passed to the SchedulerFunction!
local ScheduleID = self.Scheduler:Schedule(
self,
nil,
SchedulerFunction,
{ ... },
Start,