Update: CC - Before Render - Moorcow (to6trvr3fj.js) 25 bytes modified
parent
b557a8f1e9
commit
d992840ba6
|
@ -197,13 +197,14 @@ if (GameLib.Utils.UndefinedOrNull(this.initialized)) {
|
|||
GameLib.Event.AUDIO_ENDED,
|
||||
function(data) {
|
||||
|
||||
if (this.blastSubscription) {
|
||||
if (data.audio.name === name) {
|
||||
|
||||
this.blastSubscription.remove();
|
||||
|
||||
this.blastSubscription = null;
|
||||
|
||||
if (data.name === name) {
|
||||
if (this.blastSubscription) {
|
||||
|
||||
this.blastSubscription.remove();
|
||||
|
||||
this.blastSubscription = null;
|
||||
|
||||
GameLib.Event.Emit(
|
||||
GameLib.Event.PLAY_AUDIO,
|
||||
{
|
||||
|
@ -211,8 +212,6 @@ if (GameLib.Utils.UndefinedOrNull(this.initialized)) {
|
|||
}
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}.bind(this)
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue