This commit is contained in:
Sven Van de Velde 2016-05-10 17:28:37 +02:00
parent 4667e7c41c
commit b7a2e8b278

View File

@ -6510,7 +6510,7 @@ function SCHEDULER:Scheduler()
timer.scheduleFunction(
self.Scheduler,
self,
timer.getTime() + self.RepeatSecondsInterval * math.random( self.RandomizationFactor * self.RepeatSecondsInterval ) + 0.01
timer.getTime() + self.RepeatSecondsInterval + math.random( - ( self.RandomizationFactor * self.RepeatSecondsInterval / 2 ), ( self.RandomizationFactor * self.RepeatSecondsInterval / 2 ) ) + 0.01
)
end
end