diff --git a/csgo/demo_loader.go b/csgo/demo_loader.go index 3fca485..ea13ccc 100644 --- a/csgo/demo_loader.go +++ b/csgo/demo_loader.go @@ -164,6 +164,7 @@ func (d *DemoMatchLoader) Setup(username string, password string, authCode strin return err } } + log.Debugf("%+v, %+v", d.steamLogin, d) d.client = steam.NewClient() d.matchRecv = make(chan *protobuf.CMsgGCCStrike15V2_MatchList, 500) @@ -214,6 +215,8 @@ func (d *DemoMatchLoader) steamEventHandler() { case steamlang.EResult_AccountLogonDenied: log.Fatalf("[DL] Please provide AuthCode with --authcode") case steamlang.EResult_InvalidPassword: + os.Remove(d.sentryFile) + os.Remove(d.loginKey) log.Fatalf("[DL] Steam login wrong") } case *steam.DisconnectedEvent: