Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 7 bytes modified
parent
8a4faac2e9
commit
f4e8f8c94c
|
@ -231,7 +231,7 @@ GameLib.CustomCode.prototype.waitReload = function(delta) {
|
|||
|
||||
this.state.exploding = false;
|
||||
|
||||
if (this.lives < 0) {
|
||||
if (this.state.lives <= 0) {
|
||||
this.state.gameOver = true;
|
||||
this.state.message = "GAME OVER";
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue