remove tracked mapper restriction for now
This commit is contained in:
parent
1bfb3caf55
commit
8e0d33f8b4
1 changed files with 6 additions and 5 deletions
|
@ -42,13 +42,14 @@ func (s *Scraper) scrapePendingMaps() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mapperId := beatmapSet.UserID
|
mapperId := beatmapSet.UserID
|
||||||
if _, ok := trackedMappers[mapperId]; ok {
|
|
||||||
if _, ok2 := allNewMaps[mapperId]; !ok2 {
|
|
||||||
allNewMaps[mapperId] = make([]osuapi.Beatmapset, 0)
|
|
||||||
}
|
|
||||||
|
|
||||||
allNewMaps[mapperId] = append(allNewMaps[mapperId], beatmapSet)
|
// if _, ok := trackedMappers[mapperId]; ok {
|
||||||
|
if _, ok2 := allNewMaps[mapperId]; !ok2 {
|
||||||
|
allNewMaps[mapperId] = make([]osuapi.Beatmapset, 0)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
allNewMaps[mapperId] = append(allNewMaps[mapperId], beatmapSet)
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(allNewMaps) > 0 {
|
if len(allNewMaps) > 0 {
|
||||||
|
|
Loading…
Reference in a new issue