fix(common/models): max prediction wait check

This commit is contained in:
Joshua A. Horton 2022-09-14 09:57:29 +07:00
parent 59262dc747
commit 0845210f20

View file

@ -653,7 +653,7 @@ namespace correction {
shouldTimeout(): boolean {
const now = Date.now();
if(this.start - now > this.maxTrueTime) {
if(now - this.start > this.maxTrueTime) {
return true;
}