From 032d70940a36ac141e2ef5474bf27692523a792d Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Sat, 24 Mar 2018 13:07:07 +0100 Subject: [PATCH] Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 0 bytes modified --- 21g30t1e75.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/21g30t1e75.js b/21g30t1e75.js index 0a4abbf..f9c6ce3 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -1254,19 +1254,19 @@ GameLib.CustomCode.prototype.restore = function() { if (body.orientation === GameLib.CustomCode.ORIENTATION_UP) { - body.backupMesh.position.y -= 0.5 * GameLib.CustomCode.BODY_SCALE_Y; - } - - if (body.orientation === GameLib.CustomCode.ORIENTATION_DOWN) { body.backupMesh.position.y += 0.5 * GameLib.CustomCode.BODY_SCALE_Y; } + if (body.orientation === GameLib.CustomCode.ORIENTATION_DOWN) { + body.backupMesh.position.y -= 0.5 * GameLib.CustomCode.BODY_SCALE_Y; + } + if (body.orientation === GameLib.CustomCode.ORIENTATION_LEFT) { - body.backupMesh.position.x += 0.5 * GameLib.CustomCode.BODY_SCALE_X; + body.backupMesh.position.x -= 0.5 * GameLib.CustomCode.BODY_SCALE_X; } if (body.orientation === GameLib.CustomCode.ORIENTATION_RIGHT) { - body.backupMesh.position.x -= 0.5 * GameLib.CustomCode.BODY_SCALE_X; + body.backupMesh.position.x += 0.5 * GameLib.CustomCode.BODY_SCALE_X; }