From 26d428266e3f257fe387f690cfea27e6ac7ee6d7 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Mon, 19 Mar 2018 14:21:10 +0100 Subject: [PATCH] Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 41 bytes modified --- 21g30t1e75.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/21g30t1e75.js b/21g30t1e75.js index 0467f1e..a146fac 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -152,6 +152,8 @@ GameLib.CustomCode.SnakeBody = function( this.mesh.position.z = GameLib.CustomCode.SnakeBody.LastZ; GameLib.CustomCode.SnakeBody.LastZ += 0.1; + this.mesh.updateInstance('position'); + if (GameLib.Utils.UndefinedOrNull(position)) { position = { x : Math.round(GameLib.CustomCode.GRID_WIDTH / 2),