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; } }