From 62f4fd7b8425c3644dabea7bba897fd80921438f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Vigh?= Date: Thu, 29 Apr 2021 13:57:32 +0200 Subject: [PATCH] readyToContinue is true by default and set to false only in the multigame initializing --- public/static/js/game.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public/static/js/game.js b/public/static/js/game.js index e36f7e9..adb0c60 100644 --- a/public/static/js/game.js +++ b/public/static/js/game.js @@ -17,7 +17,7 @@ adaptGuess: false, googleLink: null, - readyToContinue: false, + readyToContinue: true, timeoutEnd: null, countdownHandler: null, @@ -97,6 +97,8 @@ }, initialize: function (data) { + Game.readyToContinue = false; + if (data.history.length === 0 && !data.place) { var div = document.getElementById('players'); -- 2.45.2