Commit 20b964ab authored by LoveEevee's avatar LoveEevee

Fix some osu songs not being imported

parent 8d8a4577
...@@ -430,7 +430,7 @@ ...@@ -430,7 +430,7 @@
for(var i = path.length - 2; i >= 0; i--){ for(var i = path.length - 2; i >= 0; i--){
var hasTitle = false var hasTitle = false
for(var j in exclude){ 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 hasTitle = true
break break
} }
......
...@@ -93,7 +93,7 @@ class ScoreStorage{ ...@@ -93,7 +93,7 @@ class ScoreStorage{
} }
return output return output
} }
save(localOnly){ save(){
for(var hash in this.scores){ for(var hash in this.scores){
this.writeString(hash) this.writeString(hash)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment