unhid all the buttons
This commit is contained in:
parent
95c0816557
commit
a231dd8a77
2 changed files with 3 additions and 1 deletions
|
@ -101,7 +101,7 @@ function Clock(sideLength) {
|
|||
};
|
||||
|
||||
this.rotate = function(steps) {
|
||||
if (!(gameState === 1 || gameState === 0) && gameState !== -2) return;
|
||||
if (!(gameState === 1 || gameState === 0)) return;
|
||||
this.position += steps;
|
||||
if (!history[count]) {
|
||||
history[count] = {};
|
||||
|
|
|
@ -179,6 +179,8 @@ function init(b) {
|
|||
op = 0;
|
||||
scoreOpacity = 0;
|
||||
gameState = 1;
|
||||
$("#restartBtn").show();
|
||||
$("#pauseBtn").show();
|
||||
if(saveState.clock !== undefined) gameState = 1;
|
||||
|
||||
scaleCanvas();
|
||||
|
|
Loading…
Reference in a new issue