Merge pull request #10737 from jackpoz/clock_fix
Core/Timer: Better handle system clock changes
This commit is contained in:
@@ -66,7 +66,7 @@ struct IntervalTimer
|
||||
void Reset()
|
||||
{
|
||||
if (_current >= _interval)
|
||||
_current -= _interval;
|
||||
_current %= _interval;
|
||||
}
|
||||
|
||||
void SetCurrent(time_t current)
|
||||
|
||||
Reference in New Issue
Block a user