unhid all the buttons

This commit is contained in:
Garrett Finucane 2014-07-01 11:18:13 -04:00
parent 95c0816557
commit a231dd8a77
2 changed files with 3 additions and 1 deletions

View file

@ -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] = {};

View file

@ -179,6 +179,8 @@ function init(b) {
op = 0;
scoreOpacity = 0;
gameState = 1;
$("#restartBtn").show();
$("#pauseBtn").show();
if(saveState.clock !== undefined) gameState = 1;
scaleCanvas();