Update: CC - Mouse Down (ahm5t3rg19.js) 232 bytes modified

beta.r3js.org
-=yb4f310 2017-11-15 23:57:14 +01:00
parent 4b8ea8bbc8
commit 320074e5e6
1 changed files with 10 additions and 0 deletions

View File

@ -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;
//@ sourceURL=mouseDown.js