From 0f1b44d5f0c9898d2f087df8f23eff9a92c7b245 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Thu, 22 Mar 2018 19:42:01 +0100 Subject: [PATCH] Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 6 bytes modified --- 21g30t1e75.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/21g30t1e75.js b/21g30t1e75.js index c7b9b19..3a8ad83 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -832,6 +832,7 @@ GameLib.CustomCode.prototype.extend = function(gameObject, position, orientation throw new Error('unhandled food type: ' + gameObject.type); } + /* if (orientation === GameLib.CustomCode.ORIENTATION_UP) { body.mesh.position.y -= 0.5 * GameLib.CustomCode.BODY_SCALE_Y; } @@ -846,7 +847,7 @@ GameLib.CustomCode.prototype.extend = function(gameObject, position, orientation if (orientation === GameLib.CustomCode.ORIENTATION_RIGHT) { body.mesh.position.x -= 0.5 * GameLib.CustomCode.BODY_SCALE_X; - } + }*/ body.mesh.updateInstance('position');