mirror of
https://github.com/jiojciojsioe3/a3cjroijsiojiorj.git
synced 2024-11-15 07:21:50 +08:00
Autoplay when restarting during an autoplay
This commit is contained in:
parent
fcc3235bec
commit
874445bd47
@ -125,7 +125,7 @@ function Controller(selectedSong, songData, autoPlayEnabled){
|
|||||||
assets.sounds["main-music"].currentTime=0;
|
assets.sounds["main-music"].currentTime=0;
|
||||||
clearInterval(_mainLoop);
|
clearInterval(_mainLoop);
|
||||||
$("#screen").load("/src/views/game.html", function(){
|
$("#screen").load("/src/views/game.html", function(){
|
||||||
var taikoGame = new Controller(selectedSong, songData);
|
var taikoGame = new Controller(selectedSong, songData, autoPlayEnabled);
|
||||||
taikoGame.run();
|
taikoGame.run();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user