diff --git a/21g30t1e75.js b/21g30t1e75.js index baa2c2f..211bed5 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -192,8 +192,12 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) { if ((index + 1) >= this.snake.length) { /** - * Do nothing + * Pop it */ + body.mesh.geometry = null; + body.mesh.materials = null; + body.mesh.remove(); + } else { /** * Move the body over