Fixed error in Scheduler (due to add Scheduler function this mornin)

This commit is contained in:
FlightControl
2016-07-23 17:22:58 +02:00
parent 9cd45e7abe
commit dc486be872
45 changed files with 58797 additions and 34 deletions
+5 -2
View File
@@ -100,8 +100,11 @@ function SCHEDULER:Start()
if self.RepeatSecondsInterval ~= 0 then if self.RepeatSecondsInterval ~= 0 then
self.Repeat = true self.Repeat = true
end end
self.ScheduleID = timer.scheduleFunction( self._Scheduler, self, timer.getTime() + self.StartSeconds + .01 )
if self.StartSeconds then
self.ScheduleID = timer.scheduleFunction( self._Scheduler, self, timer.getTime() + self.StartSeconds + .01 )
end
return self return self
end end
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
Binary file not shown.