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