- Still a problem, getting obscolete calls after a garbage collect where
i should not get them ...
This commit is contained in:
FlightControl
2016-12-13 12:10:12 +01:00
parent 6c6b26e33e
commit 152c8a986d
8 changed files with 100 additions and 17 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ function TIMER:AddSchedule( Scheduler, ScheduleFunction, ScheduleArguments, Star
local StartTime = CurrentTime + Start
if Status and (( Result == nil ) or ( Result and Result ~= false ) ) then
if Repeat ~= 0 and ( not Stop ) or ( Stop and CurrentTime <= StartTime + Stop ) then
if Repeat ~= 0 and ( Stop == 0 ) or ( Stop ~= 0 and CurrentTime <= StartTime + Stop ) then
local ScheduleTime =
CurrentTime +
Repeat +