diff --git a/21g30t1e75.js b/21g30t1e75.js index e59e674..5115805 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -211,12 +211,13 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) { backup.x = body.position.x; backup.y = body.position.y; - backup.orientation = body.orientation; + body.advance( this.state.orientation ); + backup.orientation = body.orientation; } else { var temp = {