Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 96 bytes modified
parent
7c097071ec
commit
de1408ee32
|
@ -1250,12 +1250,7 @@ GameLib.CustomCode.prototype.restore = function() {
|
|||
*/
|
||||
this.snake = this.backupSnake.map(
|
||||
function(body) {
|
||||
|
||||
body.applyToMesh();
|
||||
|
||||
this.grid[body.position.x][body.position.y] = body;
|
||||
|
||||
return body;
|
||||
return body.clone();
|
||||
}.bind(this)
|
||||
);
|
||||
|
||||
|
@ -1263,8 +1258,6 @@ GameLib.CustomCode.prototype.restore = function() {
|
|||
|
||||
this.visualizeGrid();
|
||||
|
||||
this.backup();
|
||||
|
||||
}.bind(this)
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue