From ffb3be3b96573acf4751d49907c8c30ece541c9e Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Fri, 23 Mar 2018 16:49:02 +0100 Subject: [PATCH] Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 67 bytes modified --- 21g30t1e75.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/21g30t1e75.js b/21g30t1e75.js index a1fceef..78c5425 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -1147,7 +1147,11 @@ GameLib.CustomCode.prototype.createCorner = function(body, temp) { GameLib.CustomCode.prototype.backup = function() { if (GameLib.Utils.UndefinedOrNull(this.backupSnake)) { - this.backupSnake = []; + this.backupSnake = this.snake.map( + function(body) { + return body.clone(); + } + ); } this.backupPrevious = this.backupSnake.map(