save current song position before session menu
This commit is contained in:
parent
5d4d69be71
commit
ddc3e1a4dc
@ -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(() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user