diff --git a/m4c2psc19l.js b/m4c2psc19l.js index d150d96..029baf3 100644 --- a/m4c2psc19l.js +++ b/m4c2psc19l.js @@ -41,7 +41,7 @@ this.scene = GameLib.EntityManager.Instance.findComponentById('f5d6aj9iiv'); this.cursor = GameLib.EntityManager.Instance.findComponentById('ykfzwmaw9j'); this.thrower = GameLib.EntityManager.Instance.findComponentById('x4rhvbj8cn'); -this.thrower = GameLib.EntityManager.Instance.findComponentById('15rh0z60fi'); +this.renderer = GameLib.EntityManager.Instance.findComponentById('15rh0z60fi'); this.throwerParticleEngine = GameLib.EntityManager.Instance.findComponentById('0k1sgxm2vq'); @@ -77,6 +77,7 @@ this.mouseDown.beforeRender = this.beforeRender; */ this.mouseUp.throwerParticleEngine = this.throwerParticleEngine; this.mouseUp.beforeRender = this.beforeRender; +this.mouseUp.renderer = this.renderer; GameLib.Event.Emit(GameLib.Event.MOUSE_UP);