fixed initial steam connection
This commit is contained in:
@@ -231,6 +231,8 @@ func (dml *DemoMatchLoader) Setup(config *DemoMatchLoaderConfig) error {
|
||||
go dml.gcWorker(config.ApiKey, config.RateLimit)
|
||||
}
|
||||
|
||||
dml.connectFeedback <- LOGIN_FAILED
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
@@ -251,7 +253,7 @@ func (dml *DemoMatchLoader) connectLoop() {
|
||||
case LOGIN_FAILED:
|
||||
time.Sleep(time.Minute * time.Duration(dml.connectionWait))
|
||||
if !dml.LoggedIn {
|
||||
log.Infof("[DL] Retrying connecting to steam...")
|
||||
log.Infof("[DL] Connecting to steam...")
|
||||
|
||||
err := dml.connectToSteam()
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user