diff --git a/21g30t1e75.js b/21g30t1e75.js index fca9bdb..d3afee2 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -290,7 +290,7 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) { body.mesh.updateInstance('visible'); } - if (body.orientation !== this.snake[index-1].orientation) { + if (body.orientation !== backup.orientation) { /** * Our orientation changed - we should make a corner */