ended spawning blocks on gameover

This commit is contained in:
Michael Yang 2014-05-24 15:59:13 -04:00
parent 477c5aba6d
commit 6c073cacdb

View file

@ -212,6 +212,7 @@ function Clock(sideLength) {
};
this.addBlock = function(block) {
if (gameState != 1) return;
block.settled = 1;
block.tint = 0.6;
var lane = this.sides - block.lane;// -this.position;