From ab3e34e85a30085e6f71e72d4d9f2bcdfb6983db Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Sat, 24 Mar 2018 16:22:55 +0100 Subject: [PATCH] Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 235 bytes modified --- 21g30t1e75.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/21g30t1e75.js b/21g30t1e75.js index 4fef106..4d768fe 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -82,6 +82,7 @@ this.runtime = GameLib.Utils.GetRuntime(); */ this.beforeRender = GameLib.EntityManager.Instance.findComponentById('zjq6ach3jt'); this.keyUp = GameLib.EntityManager.Instance.findComponentById('306204wy29'); +this.touchEnd = GameLib.EntityManager.Instance.findComponentById('0j2wxrtdf2'); /** * Geometries @@ -1789,6 +1790,9 @@ GameLib.Event.Subscribe( this.keyUp.initialized = false; this.keyUp.entityLoaded = this; + + this.touchEnd.initialized = false; + this.touchEnd.entityLoaded = this; console.log('starting game snake'); }.bind(this) @@ -1804,6 +1808,9 @@ GameLib.Event.Subscribe( this.beforeRender.initialized = false; this.beforeRender.entityLoaded = null; + this.touchEnd.initialized = false; + this.touchEnd.entityLoaded = null; + console.log('starting game snake'); }.bind(this) )