fixed timer listening
This commit is contained in:
@ -72,6 +72,6 @@ class TimerListening {
|
|||||||
if (!$time) {
|
if (!$time) {
|
||||||
$time = microtime(true);
|
$time = microtime(true);
|
||||||
}
|
}
|
||||||
return ($this->lastTrigger + $this->deltaTime > $time);
|
return ($this->lastTrigger + $this->deltaTime <= $time);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user