mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 23:51:09 -04:00
[Server] Allow timers callbacks to restart timers
This commit is contained in:
parent
d82ed7d0ad
commit
31adb5d715
@ -44,8 +44,8 @@ void Timer::Tick()
|
|||||||
|
|
||||||
if (time - startTime >= targetMsec)
|
if (time - startTime >= targetMsec)
|
||||||
{
|
{
|
||||||
Call(args);
|
|
||||||
end = true;
|
end = true;
|
||||||
|
Call(args);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user