|
|
|
@ -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(); |
|
|
|
|
|
|
|
|
|