Fix some osu songs not being imported
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -93,7 +93,7 @@ class ScoreStorage{
|
||||
}
|
||||
return output
|
||||
}
|
||||
save(localOnly){
|
||||
save(){
|
||||
for(var hash in this.scores){
|
||||
this.writeString(hash)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user