From 531b9d4222cfbe447c81d95f7188b4f1f8d297f3 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Mon, 19 Mar 2018 11:49:38 +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 0c0ff9a..3f9ac27 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -184,10 +184,10 @@ GameLib.CustomCode.SnakeBody.prototype.applyToMesh = function() { this.mesh.position.x = this.position.x + GameLib.CustomCode.GRID_OFFSET_X; this.mesh.position.y = this.position.y + GameLib.CustomCode.GRID_OFFSET_Y; - if ((this.mesh.rotation.z - (this.orientation * Math.PI / 2)) > Math.PI) { - this.mesh.rotation.z -= Math.PI; - this.mesh.updateInstance('rotation'); - } + //if ((this.mesh.rotation.z - (this.orientation * Math.PI / 2)) > Math.PI) { + // this.mesh.rotation.z -= Math.PI; + // this.mesh.updateInstance('rotation'); + //} this.mesh.rotation.z = this.orientation * Math.PI / 2;