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)
|
go dml.gcWorker(config.ApiKey, config.RateLimit)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dml.connectFeedback <- LOGIN_FAILED
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -251,7 +253,7 @@ func (dml *DemoMatchLoader) connectLoop() {
|
|||||||
case LOGIN_FAILED:
|
case LOGIN_FAILED:
|
||||||
time.Sleep(time.Minute * time.Duration(dml.connectionWait))
|
time.Sleep(time.Minute * time.Duration(dml.connectionWait))
|
||||||
if !dml.LoggedIn {
|
if !dml.LoggedIn {
|
||||||
log.Infof("[DL] Retrying connecting to steam...")
|
log.Infof("[DL] Connecting to steam...")
|
||||||
|
|
||||||
err := dml.connectToSteam()
|
err := dml.connectToSteam()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Reference in New Issue
Block a user