Autoplay when restarting during an autoplay

This commit is contained in:
LoveEevee 2018-08-28 03:56:22 +03:00
parent fcc3235bec
commit 874445bd47

View File

@ -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();
});
}