diff --git a/public/src/js/controller.js b/public/src/js/controller.js index d57a815..9ac7fce 100644 --- a/public/src/js/controller.js +++ b/public/src/js/controller.js @@ -125,7 +125,7 @@ function Controller(selectedSong, songData, autoPlayEnabled){ assets.sounds["main-music"].currentTime=0; clearInterval(_mainLoop); $("#screen").load("/src/views/game.html", function(){ - var taikoGame = new Controller(selectedSong, songData); + var taikoGame = new Controller(selectedSong, songData, autoPlayEnabled); taikoGame.run(); }); }