From cf3e5bd9dc5b8ba25ff3e4a87790d4b5b9a035ad Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Mon, 12 Mar 2018 21:11:07 +0100 Subject: [PATCH] Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 12 bytes modified --- 21g30t1e75.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/21g30t1e75.js b/21g30t1e75.js index 16db187..1bc3e42 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -199,9 +199,9 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) { /** * Pop it */ - this.snake[index + 1].mesh.geometry = null; - this.snake[index + 1].mesh.materials = null; - this.snake[index + 1].mesh.remove(); + this.snake[index].mesh.geometry = null; + this.snake[index].mesh.materials = null; + this.snake[index].mesh.remove(); } else { /** * Move the body over