From 89169aa1fe125d7bad7cec844aaab0df00460d43 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Mon, 19 Mar 2018 09:25:07 +0100 Subject: [PATCH] Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 28 bytes modified --- 21g30t1e75.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/21g30t1e75.js b/21g30t1e75.js index 40d0d30..ee58f5f 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -265,6 +265,7 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) { this.state.orientation ); + backup.orientation = body.orientation; } if (index > 0) { @@ -304,7 +305,7 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) { } if ( - body.orientation !== this.snake[index - 1].orientation + body.orientation !== temp.orientation ) { if ((index + 1) < this.snake.length) { @@ -320,7 +321,7 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) { body.mesh = this.meshBreadCorner.clone(); } - body.orientation = this.snake[index - 1].orientation; + //body.orientation = this.snake[index - 1].orientation; } }