From 8f1f4d17371bef1ba8fb7d5232d490fd4a5d0b5a Mon Sep 17 00:00:00 2001 From: Ben Burlingham Date: Thu, 23 Jul 2020 20:09:09 -0700 Subject: [PATCH] Debug commands for timer. --- client/controls.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/controls.js b/client/controls.js index 2384f93..7142e45 100644 --- a/client/controls.js +++ b/client/controls.js @@ -163,6 +163,8 @@ Controls.prototype.msgCountdown = function(evt) { const diff = Math.ceil((now - timestamp) / 1000); const remaining = duration - diff; + console.error(timestamp, duration, now, diff, remaining); + this.countdownStart(remaining); };