From 461e53400da6e574d57bd42fa256e6f281c4e31c Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 8 Nov 2017 12:24:50 +0100 Subject: [PATCH] Update: CC - Entity Loaded - Moorcow (gr0qs6v7dd.js) 419 bytes modified --- gr0qs6v7dd.js | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/gr0qs6v7dd.js b/gr0qs6v7dd.js index de7179e..e33db53 100644 --- a/gr0qs6v7dd.js +++ b/gr0qs6v7dd.js @@ -15,5 +15,21 @@ particle.instance.visible = false; GameLib.D3.CustomCode.MIN_SPAWN_TIME = 1; GameLib.D3.CustomCode.MAX_SPAWN_TIME = 4; -this.beforeRender = GameLib.EntityManager.Instance.findComponentById('9l6o7974qx'); +/** + * Tell all our custom code components that we loaded + */ +this.beforeRender = GameLib.EntityManager.Instance.findComponentById('9l6o7974qx'); this.beforeRender.entityLoaded = this; + +this.mouseUp = GameLib.EntityManager.Instance.findComponentById('7vjcf5lwek'); +this.mouseUp.entityLoaded = this; + +this.mouseDown = GameLib.EntityManager.Instance.findComponentById('yfdl3odo4j'); +this.mouseDown.entityLoaded = this; + +this.mouseMove = GameLib.EntityManager.Instance.findComponentById('fsilsam72g'); +this.mouseMove.entityLoaded = this; + + + +