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) )