From 18ed18831af3ea178b44378bdea5b265ae1e19c9 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Thu, 15 Mar 2018 15:24:10 +0100 Subject: [PATCH] Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 13 bytes modified --- 21g30t1e75.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/21g30t1e75.js b/21g30t1e75.js index fca9bdb..d3afee2 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -290,7 +290,7 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) { body.mesh.updateInstance('visible'); } - if (body.orientation !== this.snake[index-1].orientation) { + if (body.orientation !== backup.orientation) { /** * Our orientation changed - we should make a corner */