exit if password wrong
This commit is contained in:
@@ -209,6 +209,8 @@ func (d *DemoMatchLoader) steamEventHandler() {
|
||||
switch e.Result {
|
||||
case steamlang.EResult_AccountLogonDenied:
|
||||
log.Warningf("[DL] Please provide AuthCode with --authcode")
|
||||
case steamlang.EResult_InvalidPassword:
|
||||
log.Fatalf("[DL] Steam login wrong")
|
||||
}
|
||||
case *steam.DisconnectedEvent:
|
||||
log.Warningf("Steam disconnected, trying to reconnect...")
|
||||
|
Reference in New Issue
Block a user