From 175ec60d484b79f61c11c3ef9520ccacb2a19086 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Thu, 22 Mar 2018 15:46:27 +0100 Subject: [PATCH] Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 2 bytes modified --- 21g30t1e75.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/21g30t1e75.js b/21g30t1e75.js index 6768699..ceabea4 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -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}