switched to build-in steam server list

This commit is contained in:
2021-10-27 01:55:01 +02:00
parent 20f95589db
commit 9019a19369
4 changed files with 34 additions and 67 deletions

21
main.go
View File

@@ -822,17 +822,16 @@ func main() {
// setup GC
err = demoLoader.Setup(&csgo.DemoMatchLoaderConfig{
Username: conf.Steam.Username,
Password: conf.Steam.Password,
AuthCode: conf.Steam.AuthCode,
Sentry: conf.Steam.Sentry,
LoginKey: conf.Steam.LoginKey,
ServerList: conf.Steam.ServerList,
Db: db,
Worker: conf.Parser.Worker,
ApiKey: conf.Steam.APIKey,
RateLimit: rL,
Cache: rdc,
Username: conf.Steam.Username,
Password: conf.Steam.Password,
AuthCode: conf.Steam.AuthCode,
Sentry: conf.Steam.Sentry,
LoginKey: conf.Steam.LoginKey,
Db: db,
Worker: conf.Parser.Worker,
ApiKey: conf.Steam.APIKey,
RateLimit: rL,
Cache: rdc,
})
if err != nil {
log.Fatalf("Unbale to setup DemoLoader: %v", err)