exit if password wrong

This commit is contained in:
2021-10-05 19:54:27 +02:00
parent e8d3fac567
commit e845bfb530

View File

@@ -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...")