Scoresheet: Save results to localstorage

This commit is contained in:
LoveEevee
2020-03-06 03:02:07 +03:00
parent 41afc2a905
commit 21259abdda
6 changed files with 165 additions and 1 deletions

View File

@@ -113,6 +113,7 @@ class SongSelect{
this.songs.push({
id: song.id,
title: title,
originalTitle: song.title,
subtitle: subtitle,
skin: song.category in this.songSkin ? this.songSkin[song.category] : this.songSkin.default,
stars: song.stars,
@@ -738,6 +739,7 @@ class SongSelect{
new LoadSong({
"title": selectedSong.title,
"originalTitle": selectedSong.originalTitle,
"folder": selectedSong.id,
"difficulty": this.difficultyId[difficulty],
"category": selectedSong.category,