Skip to content

Commit

Permalink
Fix delayed password input crash
Browse files Browse the repository at this point in the history
  • Loading branch information
JustArchi committed Dec 2, 2023
1 parent 8397a69 commit 0d4871c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ArchiSteamFarm/Steam/Bot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2634,6 +2634,11 @@ private async void OnConnected(SteamClient.ConnectedCallback callback) {
}
}

if (!SteamClient.IsConnected) {
// Possible if user spent too much time entering password, try again after reconnect
return;
}

ArchiLogger.LogGenericInfo(Strings.BotLoggingIn);

InitConnectionFailureTimer();
Expand Down

0 comments on commit 0d4871c

Please sign in to comment.