Misc/Timer

* calling reset() on the Timer no longer breaks the interval
This commit is contained in:
Sarjuuk
2024-01-31 22:06:10 +01:00
parent 979a21afae
commit d8a6f67688

View File

@@ -449,7 +449,7 @@ class Timer
public function reset() : void public function reset() : void
{ {
$this->t_cur = 0; $this->t_cur = microtime(true) - $this->intv;
} }
} }