From 6373fcfcd47e9d19950a95b673d36db8bd73b961 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Mon, 19 Mar 2018 10:41:19 +0100 Subject: [PATCH] Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 10 bytes modified --- 21g30t1e75.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/21g30t1e75.js b/21g30t1e75.js index 2dcd780..324da60 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -285,7 +285,9 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) { body.mesh.visible = true; body.mesh.updateInstance('visible'); - } + + body.mesh.updateInstance('position'); + } if ( body.orientation !== temp.orientation @@ -296,8 +298,6 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) { * Our orientation changed - we should make a corner */ body.backupMesh = body.mesh; - - body.backupMesh.updateInstance('position'); body.backupMesh.visible = false;