From f4e8f8c94c4a07b2cf02826e210d97721f788344 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Sat, 24 Mar 2018 14:26:13 +0100 Subject: [PATCH] Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 7 bytes modified --- 21g30t1e75.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/21g30t1e75.js b/21g30t1e75.js index 5538e63..c4a393e 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -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;