Fix some osu songs not being imported

This commit is contained in:
LoveEevee 2020-03-26 00:56:49 +03:00
parent 8d8a4577d2
commit 20b964ab2e
2 changed files with 2 additions and 2 deletions

View File

@ -430,7 +430,7 @@
for(var i = path.length - 2; i >= 0; i--){
var hasTitle = false
for(var j in exclude){
if(path[i].indexOf(exclude[j].toLowerCase()) !== -1){
if(exclude[j] && path[i].indexOf(exclude[j].toLowerCase()) !== -1){
hasTitle = true
break
}

View File

@ -93,7 +93,7 @@ class ScoreStorage{
}
return output
}
save(localOnly){
save(){
for(var hash in this.scores){
this.writeString(hash)
}