always save selected song

This commit is contained in:
Bui 2019-11-25 16:38:14 +00:00
parent 01e1a1ad25
commit ea04771d00

View File

@ -992,6 +992,7 @@ class SongSelect{
} }
this.state.move = 0 this.state.move = 0
this.state.locked = 2 this.state.locked = 2
localStorage["selectedSong"] = this.selectedSong
if(this.songs[this.selectedSong].action !== "back"){ if(this.songs[this.selectedSong].action !== "back"){
var cat = this.songs[this.selectedSong].category var cat = this.songs[this.selectedSong].category