save current song position before session menu

This commit is contained in:
Bui 2018-11-06 21:28:28 +00:00
parent 5d4d69be71
commit ddc3e1a4dc

View File

@ -648,6 +648,9 @@ class SongSelect{
if(p2.session){ if(p2.session){
p2.send("gameend") p2.send("gameend")
}else{ }else{
localStorage["selectedSong"] = this.selectedSong
localStorage["selectedDiff"] = 0
assets.sounds["don"].play() assets.sounds["don"].play()
this.clean() this.clean()
setTimeout(() => { setTimeout(() => {