diff --git a/21g30t1e75.js b/21g30t1e75.js index c678228..a790888 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -1249,22 +1249,15 @@ GameLib.CustomCode.prototype.restore = function() { * Restore our backup snake */ this.snake = this.backupSnake.map( - function(body) { - - body.applyToMesh(); - - this.grid[body.position.x][body.position.y] = body; - - return body; + function(body) { + return body.clone(); }.bind(this) ); this.state.orientation = this.backupOrientation; this.visualizeGrid(); - - this.backup(); - + }.bind(this) /**