Update: CC - Entity Loaded - Moorcow (xtihcyhagp.js) 133 bytes modified
parent
f273a0dcd0
commit
e4297d906c
|
@ -6,13 +6,6 @@ if (this.parentEntity === data.entity) {
|
|||
|
||||
this.enemies = [];
|
||||
|
||||
GameLib.Event.Emit(
|
||||
GameLib.Event.PLAY_AUDIO,
|
||||
{
|
||||
name : 'Audio - Xmas'
|
||||
}
|
||||
);
|
||||
|
||||
/**
|
||||
* Min and max spawn time is in seconds
|
||||
*/
|
||||
|
@ -101,12 +94,7 @@ GameLib.Event.Subscribe(
|
|||
this.mouseDown.entityLoaded = null;
|
||||
this.mouseMove.entityLoaded = null;
|
||||
|
||||
GameLib.Event.Emit(
|
||||
GameLib.Event.STOP_AUDIO,
|
||||
{
|
||||
name : 'Audio - Xmas'
|
||||
}
|
||||
);
|
||||
GameLib.Event.Emit(GameLib.Event.STOP_ALL_AUDIO);
|
||||
}.bind(this)
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue