Fix song restarting and multiple touches

This commit is contained in:
LoveEevee
2018-10-05 21:12:50 +03:00
parent c8acfc3188
commit c999dca204
2 changed files with 3 additions and 3 deletions

View File

@@ -136,10 +136,10 @@ class Controller{
restartSong(){
this.clean()
if(this.multiplayer){
new loadSong(this.selectedSong, false, true)
new loadSong(this.selectedSong, false, true, this.touchEnabled)
}else{
loader.changePage("game")
var taikoGame = new Controller(this.selectedSong, this.songData, this.autoPlayEnabled)
var taikoGame = new Controller(this.selectedSong, this.songData, this.autoPlayEnabled, false, this.touchEnabled)
taikoGame.run()
}
}