diff --git a/21g30t1e75.js b/21g30t1e75.js index 2c01bcf..2b3bb66 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -1147,11 +1147,14 @@ GameLib.CustomCode.prototype.createCorner = function(body, temp) { GameLib.CustomCode.prototype.backup = function() { if (GameLib.Utils.UndefinedOrNull(this.backupSnake)) { + this.backupSnake = this.snake.map( function(body) { return body.clone(); } ); + + this.backupOrientation = this.state.orientation; } this.backupPrevious = this.backupSnake.map(