Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 57 bytes modified

beta.r3js.org
-=yb4f310 2018-03-23 17:04:38 +01:00
parent 6e43d546a1
commit bb80d1751c
1 changed files with 3 additions and 0 deletions

View File

@ -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(