Countdown timer to 60s.

master
Ben Burlingham 5 years ago
parent 9e682e795c
commit b56ea57d63
  1. 4
      server/ricochet.js

@ -52,7 +52,7 @@ const Ricochet = function({ messenger }) {
this.walls = this.freshWalls();
this.objective = this.freshObjective();
this.countdownDuration = 15;
this.countdownDuration = 60;
this.countdownTimer = null;
this.countdownTimestamp = null;
@ -303,8 +303,6 @@ Ricochet.prototype.msgSkip = function() {
Ricochet.prototype.msgSolve = function(message) {
clearTimeout(this.countdownTimer);
this.countdownTimer = setTimeout(this.onCountdownComplete.bind(this), this.countdownDuration * 1000);
this.countdownTimestamp = new Date().getTime();

Loading…
Cancel
Save