Update: CC - Mouse Down (ahm5t3rg19.js) 64 bytes modified
parent
c0930cb209
commit
37904219ef
|
@ -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)
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue