Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 2 bytes modified
parent
1b295d6998
commit
175ec60d48
|
@ -927,7 +927,7 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) {
|
|||
flip : body.flip
|
||||
}
|
||||
|
||||
if (!this.state.turning) {
|
||||
if (!this.state.eating) {
|
||||
|
||||
/**
|
||||
* 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;
|
||||
|
||||
if (body.backupMesh && !this.state.turning) {
|
||||
if (body.backupMesh && !this.state.eating) {
|
||||
/**
|
||||
* We used to be a corner, change back
|
||||
* @type {null}
|
||||
|
|
Loading…
Reference in New Issue