game doesn't continue playing after you lose

This commit is contained in:
meadowstream 2014-05-24 16:46:24 -04:00
parent f67e69b642
commit a0a00c22cd
2 changed files with 1 additions and 2 deletions

View file

@ -29,7 +29,6 @@ function floodFill(clock,side,index,deleting) {
}
function consolidateBlocks(clock,side,index){
debugger;
var sidesChanged =[];
var deleting=[];
deleting.push([side,index]);

View file

@ -135,7 +135,7 @@ function update() {
}
}
else {
else if (gameState == 1) {
waveone.update();
if (now - waveone.prevTimeScored > 1000) {
score += 5 * (scoreScalar * scoreAdditionCoeff);