mirror of
https://github.com/jiojciojsioe3/a3cjroijsiojiorj.git
synced 2024-11-15 15:31:51 +08:00
Fix some osu songs not being imported
This commit is contained in:
parent
8d8a4577d2
commit
20b964ab2e
@ -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{
|
|||||||
}
|
}
|
||||||
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)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user