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

beta.r3js.org
-=yb4f310 2018-03-23 16:38:38 +01:00
parent fbf164ad04
commit e123a4c7a9
1 changed files with 2 additions and 7 deletions

View File

@ -1284,6 +1284,8 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) {
var temp = null;
var advanced = false;
this.backup();
this.snake.map(
function(body, index) {
@ -1504,13 +1506,6 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) {
this.state.turning = false;
if (this.state.eating) {
/**
* make a backup of the snake here
*/
this.backup();
}
this.state.eating = false;
this.visualizeGrid();