Use ceil, not floor, when converting the timer to seconds

This commit is contained in:
Eevee (Evelyn Woods) committed 2020-09-25 20:02:53 -06:00
1 parent fcf65836ca
commit 55014fa1ca
1 file changed
+1 -1
+1 -1
View File
@@ -1029,7 +1029,7 @@ export class Level {
return null;
}
let time = Math.floor((this.time_remaining ?? 0) / 20);
let time = Math.ceil((this.time_remaining ?? 0) / 20);
return {
time: time,
abstime: this.tic_counter,