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