diff --git a/xtihcyhagp.js b/xtihcyhagp.js index 1744b8d..2322b40 100644 --- a/xtihcyhagp.js +++ b/xtihcyhagp.js @@ -76,17 +76,15 @@ GameLib.Event.Subscribe( GameLib.Event.Emit(GameLib.Event.WINDOW_RESIZE, {width : window.innerWidth, height:window.innerHeight}); - + GameLib.Event.Emit( + GameLib.Event.PLAY_AUDIO, + { + name : 'Audio - Xmas' + } + ); }.bind(this) ); -GameLib.Event.Emit( - GameLib.Event.PLAY_AUDIO, - { - name : 'Audio - Xmas' - } -); - GameLib.Event.Subscribe( GameLib.Event.GAME_OVER, function() {