From ea30570d7a4c0d6b4704ab5fb7a37c2bb6bd0567 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Mon, 19 Mar 2018 11:50:03 +0100 Subject: [PATCH] Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 6 bytes modified --- 21g30t1e75.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/21g30t1e75.js b/21g30t1e75.js index 3f9ac27..10bb30f 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -201,9 +201,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) { @@ -430,7 +430,7 @@ GameLib.Event.Subscribe( this.animation.meshes.push(this.snake[2].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