From 985d8123d57acdf61c5856550060a3a81cc7ef1d Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Mon, 12 Feb 2018 09:17:51 +0100 Subject: [PATCH] Update: CC - Demo New - Entity Loaded (h4ri7b3n05.js) 126 bytes modified --- h4ri7b3n05.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/h4ri7b3n05.js b/h4ri7b3n05.js index f54d70f..51533e9 100644 --- a/h4ri7b3n05.js +++ b/h4ri7b3n05.js @@ -2,10 +2,13 @@ if (this.parentEntity === data.entity) { console.log('Entity FSDemo Loaded'); - this.imageSpoon = GameLib.EntityManager.Instance.findComponentById('jbs9yn11z7'); - this.beforeRender = GameLib.EntityManager.Instance.findComponentById('2xpawazgoz') + this.imageSpoon = GameLib.EntityManager.Instance.findComponentById('jbs9yn11z7'); - this.beforeRender.entityLoaded = this; + this.ccBeforeRender = GameLib.EntityManager.Instance.findComponentById('2xpawazgoz'); + this.ccKeyUp = GameLib.EntityManager.Instance.findComponentById('194yv3pctj'); + + this.ccBeforeRender.entityLoaded = this; + this.ccKeyUp.entityLoaded = this; } //@ sourceURL=entiyuLoaded.js \ No newline at end of file