Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 12 bytes modified

beta.r3js.org
-=yb4f310 2018-03-12 21:11:07 +01:00
parent 26a29ef8fb
commit cf3e5bd9dc
1 changed files with 3 additions and 3 deletions

View File

@ -199,9 +199,9 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) {
/** /**
* Pop it * Pop it
*/ */
this.snake[index + 1].mesh.geometry = null; this.snake[index].mesh.geometry = null;
this.snake[index + 1].mesh.materials = null; this.snake[index].mesh.materials = null;
this.snake[index + 1].mesh.remove(); this.snake[index].mesh.remove();
} else { } else {
/** /**
* Move the body over * Move the body over