game doesn't continue playing after you lose
This commit is contained in:
parent
f67e69b642
commit
a0a00c22cd
2 changed files with 1 additions and 2 deletions
|
@ -29,7 +29,6 @@ function floodFill(clock,side,index,deleting) {
|
|||
}
|
||||
|
||||
function consolidateBlocks(clock,side,index){
|
||||
debugger;
|
||||
var sidesChanged =[];
|
||||
var deleting=[];
|
||||
deleting.push([side,index]);
|
||||
|
|
|
@ -135,7 +135,7 @@ function update() {
|
|||
|
||||
}
|
||||
}
|
||||
else {
|
||||
else if (gameState == 1) {
|
||||
waveone.update();
|
||||
if (now - waveone.prevTimeScored > 1000) {
|
||||
score += 5 * (scoreScalar * scoreAdditionCoeff);
|
||||
|
|
Loading…
Reference in a new issue