From 83a788553184a73d541e121dbfe463a58e7becf9 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Fri, 23 Mar 2018 11:39:35 +0100 Subject: [PATCH] Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 128 bytes modified --- 21g30t1e75.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/21g30t1e75.js b/21g30t1e75.js index 10e81a2..27277bc 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -110,6 +110,7 @@ this.particlePickle = GameLib.EntityManager.Instance.findComponentById('8lx1d9tn GameLib.CustomCode.EXPLODE_LIFETIME = this.particlePickle.lifeTime; this.canvasHUD = GameLib.EntityManager.Instance.findComponentById('lrh7junmhm'); +this.textureHUD = GameLib.EntityManager.Instance.findComponentById('zrjg7mqkxi'); /** * Game objects @@ -149,6 +150,7 @@ this.state = { GameLib.CustomCode.prototype.displayHUD = function() { this.canvasHUD.text('hello', 20, 10, '20px sans-serif', '#ffffff'); + this.textureHUD.instance.needsUpdate = true; } GameLib.CustomCode.prototype.waitReload = function(delta) {