Update: CC - Before Render - Moorcow (to6trvr3fj.js) 244 bytes modified
parent
d992840ba6
commit
809bb9665a
|
@ -193,6 +193,17 @@ if (GameLib.Utils.UndefinedOrNull(this.initialized)) {
|
||||||
name = 'Audio - Blast 3';
|
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(
|
this.blastSubscription = GameLib.Event.Subscribe(
|
||||||
GameLib.Event.AUDIO_ENDED,
|
GameLib.Event.AUDIO_ENDED,
|
||||||
function(data) {
|
function(data) {
|
||||||
|
|
Loading…
Reference in New Issue