From 37904219efcfb2a0360cc69cee81b76b1542ecf2 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Thu, 16 Nov 2017 00:08:04 +0100 Subject: [PATCH] Update: CC - Mouse Down (ahm5t3rg19.js) 64 bytes modified --- ahm5t3rg19.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ahm5t3rg19.js b/ahm5t3rg19.js index 26cfbea..832050c 100644 --- a/ahm5t3rg19.js +++ b/ahm5t3rg19.js @@ -33,7 +33,10 @@ this.subscription = GameLib.Event.Subscribe( function(data) { if (data.audio.name === 'Audio - Flamethrower') { GameLib.Event.Emit(GameLib.Event.MOUSE_UP); - this.subscription.remove(); + if (this.subscription) { + this.subscription.remove(); + this.subscription = null; + } } }.bind(this) );