From bb80d1751c54098314a492c0fb3d137edabe7b66 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Fri, 23 Mar 2018 17:04:38 +0100 Subject: [PATCH] Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 57 bytes modified --- 21g30t1e75.js | 3 +++ 1 file changed, 3 insertions(+) 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(