diff --git a/21g30t1e75.js b/21g30t1e75.js index 840c348..f96c9a0 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -906,9 +906,6 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) { this.state.flip, this.grid ); - - backup.orientation = body.orientation; - backup.flip = body.flip; this.grid[backup.position.x][backup.position.y] = new GameLib.CustomCode.GameObject(); @@ -937,6 +934,9 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) { } + backup.orientation = body.orientation; + backup.flip = body.flip; + } else { temp = {