Fix tutorial not saving

This commit is contained in:
LoveEevee
2019-04-16 23:29:26 +03:00
Unverified
parent f5d4c6bce5
commit 454028a7e6
2 changed files with 12 additions and 11 deletions
+3 -1
View File
@@ -44,7 +44,9 @@ class Tutorial{
if(pressed){
this.clean()
assets.sounds["se_don"].play()
localStorage.setItem("tutorial", "true")
try{
localStorage.setItem("tutorial", "true")
}catch(e){}
setTimeout(() => {
new SongSelect(this.fromSongSel ? "tutorial" : false, false, this.touched, this.songId)
}, 500)