From 44083d53b4e0bc0d9a439ba20097d1ea592b8c26 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Mon, 19 Mar 2018 09:22:10 +0100 Subject: [PATCH] Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 71 bytes modified --- 21g30t1e75.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/21g30t1e75.js b/21g30t1e75.js index 1b57725..40d0d30 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -265,7 +265,6 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) { this.state.orientation ); - //backup.orientation = body.orientation; } if (index > 0) { @@ -319,10 +318,11 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) { body.backupMesh.updateInstance('visible'); body.mesh = this.meshBreadCorner.clone(); - } else { - body.orientation = this.snake[index - 1].orientation; - } - } + } + + body.orientation = this.snake[index - 1].orientation; + + } } body.applyToMesh(this.state.flip);