game ctrl timer"

This commit is contained in:
ntr
2020-01-28 22:49:49 +10:00
parent 52e6c05885
commit d4913fd2ff
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ function Controls(args) {
const now = animating ? zero : Date.now();
const end = Date.parse(game.phase_end);
const timerPct = game.phase_end
const timerPct = game.phase_end || !game.phase == 'Finished'
? ((now - zero) / (end - zero) * 100)
: 100;