From 0d4871ca0243920311e885ff4ca690f067c239d1 Mon Sep 17 00:00:00 2001 From: Archi Date: Sat, 2 Dec 2023 13:15:53 +0100 Subject: [PATCH] Fix delayed password input crash --- ArchiSteamFarm/Steam/Bot.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ArchiSteamFarm/Steam/Bot.cs b/ArchiSteamFarm/Steam/Bot.cs index b72acddbd..481527ebb 100644 --- a/ArchiSteamFarm/Steam/Bot.cs +++ b/ArchiSteamFarm/Steam/Bot.cs @@ -2634,6 +2634,11 @@ public sealed class Bot : IAsyncDisposable, IDisposable { } } + if (!SteamClient.IsConnected) { + // Possible if user spent too much time entering password, try again after reconnect + return; + } + ArchiLogger.LogGenericInfo(Strings.BotLoggingIn); InitConnectionFailureTimer();