readyToContinue is true by default and set to false only in the multigame initializing
All checks were successful
default-pipeline default-pipeline #145

This commit is contained in:
Balázs Vigh 2021-04-29 13:57:32 +02:00
parent 58cdc1be8d
commit 62f4fd7b84

View File

@ -17,7 +17,7 @@
adaptGuess: false, adaptGuess: false,
googleLink: null, googleLink: null,
readyToContinue: false, readyToContinue: true,
timeoutEnd: null, timeoutEnd: null,
countdownHandler: null, countdownHandler: null,
@ -97,6 +97,8 @@
}, },
initialize: function (data) { initialize: function (data) {
Game.readyToContinue = false;
if (data.history.length === 0 && !data.place) { if (data.history.length === 0 && !data.place) {
var div = document.getElementById('players'); var div = document.getElementById('players');