diff --git a/ahm5t3rg19.js b/ahm5t3rg19.js index 56693fe..f87c251 100644 --- a/ahm5t3rg19.js +++ b/ahm5t3rg19.js @@ -28,5 +28,15 @@ GameLib.Event.Emit( } ); +this.subscription = GameLib.Event.Subscribe( + GameLib.Event.AUDIO_ENDED, + function(data) { + if (data.audio.name === 'Audio - Flamethrower') { + GameLib.Event.Emit(GameLib.Event.MOUSE_UP); + this.subscription.remove(); + } + } +); + return null; //@ sourceURL=mouseDown.js \ No newline at end of file