diff --git a/21g30t1e75.js b/21g30t1e75.js index 3ef547a..0a50246 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -295,7 +295,7 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) { } if ( - body.orientation !== temp.orientation && + body.orientation !== this.snake[index - 1].orientation && (index + 1) < this.snake.length ) { /**