Update: CC - Mouse Down (ahm5t3rg19.js) 232 bytes modified
parent
4b8ea8bbc8
commit
320074e5e6
|
@ -28,5 +28,15 @@ GameLib.Event.Emit(
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
this.subscription = GameLib.Event.Subscribe(
|
||||||
|
GameLib.Event.AUDIO_ENDED,
|
||||||
|
function(data) {
|
||||||
|
if (data.audio.name === 'Audio - Flamethrower') {
|
||||||
|
GameLib.Event.Emit(GameLib.Event.MOUSE_UP);
|
||||||
|
this.subscription.remove();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
//@ sourceURL=mouseDown.js
|
//@ sourceURL=mouseDown.js
|
Loading…
Reference in New Issue