Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 12 bytes modified
parent
26a29ef8fb
commit
cf3e5bd9dc
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue