Quickfix for single player game cannot be restarted #30
@ -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');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user