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

beta.r3js.org
-=yb4f310 2018-03-22 15:46:27 +01:00
parent 1b295d6998
commit 175ec60d48
1 changed files with 2 additions and 2 deletions

View File

@ -927,7 +927,7 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) {
flip : body.flip flip : body.flip
} }
if (!this.state.turning) { if (!this.state.eating) {
/** /**
* Create a new empty object at the current grid position (free it up) * Create a new empty object at the current grid position (free it up)
@ -948,7 +948,7 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) {
*/ */
this.grid[body.position.x][body.position.y] = body; this.grid[body.position.x][body.position.y] = body;
if (body.backupMesh && !this.state.turning) { if (body.backupMesh && !this.state.eating) {
/** /**
* We used to be a corner, change back * We used to be a corner, change back
* @type {null} * @type {null}