game ctrl timer"
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user