From f6bf021e7db2f7a2d5dca7fa420ed1bbf8dba977 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Tue, 20 Mar 2018 10:26:31 +0100 Subject: [PATCH] Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 8 bytes modified --- 21g30t1e75.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/21g30t1e75.js b/21g30t1e75.js index e5d20ac..11ba87a 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -213,9 +213,9 @@ GameLib.CustomCode.SnakeBody.prototype.applyToMesh = function() { * TODO: We don't update instance position - animation should do this */ // this.mesh.updateInstance('position'); - if (!this.isTail) { + //if (!this.isTail) { this.mesh.updateInstance('rotation'); - } + //} } GameLib.CustomCode.SnakeBody.prototype.advance = function(orientation, flip) { @@ -462,9 +462,9 @@ GameLib.Event.Subscribe( this.animation.meshes.push(this.snake[0].mesh); this.animation.meshes.push(this.snake[1].mesh); this.animation.meshes.push(this.snake[2].mesh); - this.animation.meshes.push(this.snake[3].mesh); + //this.animation.meshes.push(this.snake[3].mesh); - this.animationRotation.meshes.push(this.snake[3].mesh); + //this.animationRotation.meshes.push(this.snake[3].mesh); /** * Cleanup grid