Use ceil, not floor, when converting the timer to seconds
This commit is contained in:
parent
fcf65836ca
commit
55014fa1ca
@ -1029,7 +1029,7 @@ export class Level {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
let time = Math.floor((this.time_remaining ?? 0) / 20);
|
let time = Math.ceil((this.time_remaining ?? 0) / 20);
|
||||||
return {
|
return {
|
||||||
time: time,
|
time: time,
|
||||||
abstime: this.tic_counter,
|
abstime: this.tic_counter,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user