ended spawning blocks on gameover
This commit is contained in:
parent
477c5aba6d
commit
6c073cacdb
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue