Quickfix for single player game cannot be restarted #30

Merged
balazs merged 1 commits from bugfix/quickfix-for-single-play-cannot-be-restarted into develop 2021-04-29 18:55:58 +02:00

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');