Fix delayed password input crash

This commit is contained in:
Archi
2023-12-02 13:15:53 +01:00
parent 8397a69130
commit 0d4871ca02

View File

@@ -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();