fixed not handling steam error, updated steamapi dep
This commit is contained in:
7
main.go
7
main.go
@@ -65,7 +65,12 @@ func housekeeping() {
|
||||
continue
|
||||
}
|
||||
|
||||
_, err = utils.UpdatePlayerFromSteam(tPlayerNeedSteamUpdate, db.Client, conf.Steam.APIKey, db.Lock, rL)
|
||||
if len(tPlayerNeedSteamUpdate) > 0 {
|
||||
_, err = utils.UpdatePlayerFromSteam(tPlayerNeedSteamUpdate, db.Client, conf.Steam.APIKey, db.Lock, rL)
|
||||
if err != nil {
|
||||
log.Warningf("[HK] Unable to update profiles from steam: %v", err)
|
||||
}
|
||||
}
|
||||
|
||||
// getting new sharecodes
|
||||
if !demoLoader.GCReady {
|
||||
|
Reference in New Issue
Block a user