From 809bb9665acd0cff2edd828c63ea5d6f5e69efcc Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Thu, 16 Nov 2017 10:08:00 +0100 Subject: [PATCH] Update: CC - Before Render - Moorcow (to6trvr3fj.js) 244 bytes modified --- to6trvr3fj.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/to6trvr3fj.js b/to6trvr3fj.js index 6b4d7ee..53e723c 100644 --- a/to6trvr3fj.js +++ b/to6trvr3fj.js @@ -193,6 +193,17 @@ if (GameLib.Utils.UndefinedOrNull(this.initialized)) { name = 'Audio - Blast 3'; } + if (this.blastSubscription) { + GameLib.Event.Emit( + GameLib.Event.PLAY_AUDIO, + { + name : 'Audio - Ho ho ho' + } + ); + this.blastSubscription.remove(); + this.blastSubscription = null; + } + this.blastSubscription = GameLib.Event.Subscribe( GameLib.Event.AUDIO_ENDED, function(data) {