game ctrl timer"
This commit is contained in:
parent
52e6c05885
commit
d4913fd2ff
@ -5,8 +5,8 @@ _ntr_
|
|||||||
* can't reset password without knowing password =\
|
* can't reset password without knowing password =\
|
||||||
* hard reload client on version change
|
* hard reload client on version change
|
||||||
|
|
||||||
electrify on death / stun
|
decay reflected not applied
|
||||||
siphon stack removed check
|
black out timer when game finished
|
||||||
|
|
||||||
* audio
|
* audio
|
||||||
* animation effects
|
* animation effects
|
||||||
|
|||||||
@ -45,7 +45,7 @@ function Controls(args) {
|
|||||||
const now = animating ? zero : Date.now();
|
const now = animating ? zero : Date.now();
|
||||||
const end = Date.parse(game.phase_end);
|
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)
|
? ((now - zero) / (end - zero) * 100)
|
||||||
: 100;
|
: 100;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user