Commit 874445bd authored by LoveEevee's avatar LoveEevee

Autoplay when restarting during an autoplay

parent fcc3235b
......@@ -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();
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment