Update ScheduleDispatcher.lua

Undoing previous change as some delayed event calls stopped working, probably FSM. Need to find the reason for that.
This commit is contained in:
Thomas
2026-06-26 12:31:54 +02:00
committed by GitHub
parent 867f919d5f
commit 8c60a8c678
@@ -246,11 +246,11 @@ function SCHEDULEDISPATCHER:AddSchedule( Scheduler, ScheduleFunction, ScheduleAr
-- self:T3( { Repeat = CallID, CurrentTime, ScheduleTime, ScheduleArguments } )
return ScheduleTime -- returns the next time the function needs to be called.
else
self:_Reclaim( Scheduler, CallID )
self:Stop( Scheduler, CallID )
end
else
self:_Reclaim( Scheduler, CallID )
self:Stop( Scheduler, CallID )
end
else
self:I( "<<<>" .. Name .. ":" .. Line .. " (" .. Source .. ")" )