diff --git a/21g30t1e75.js b/21g30t1e75.js index 2af02ca..7d9154c 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -84,6 +84,7 @@ this.beforeRender = GameLib.EntityManager.Instance.findComponentById('zjq6ach3j this.keyUp = GameLib.EntityManager.Instance.findComponentById('306204wy29'); this.touchEnd = GameLib.EntityManager.Instance.findComponentById('0j2wxrtdf2'); this.mouseDown = GameLib.EntityManager.Instance.findComponentById('gzewp2awcf'); +this.mouseUp = GameLib.EntityManager.Instance.findComponentById('ckplg6wqnl'); /** * Geometries @@ -1839,6 +1840,9 @@ GameLib.Event.Subscribe( this.mouseDown.initialized = false; this.mouseDown.entityLoaded = this; + + this.mouseUp.initialized = false; + this.mouseUp.entityLoaded = this; console.log('starting game snake'); }.bind(this) @@ -1860,6 +1864,9 @@ GameLib.Event.Subscribe( this.mouseDown.initialized = false; this.mouseDown.entityLoaded = null; + this.mouseUp.initialized = false; + this.mouseUp.entityLoaded = null; + console.log('starting game snake'); }.bind(this) )