mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 06:00:46 +00:00
Add extra check after waiting in OnDisconnected()
If for some reason this callback gets executed twice, we don't want to issue second connect request in any case
This commit is contained in:
@@ -1642,6 +1642,10 @@ namespace ArchiSteamFarm {
|
||||
await LimitLoginRequestsAsync().ConfigureAwait(false);
|
||||
}
|
||||
|
||||
if (!KeepRunning || SteamClient.IsConnected) {
|
||||
return;
|
||||
}
|
||||
|
||||
SteamClient.Connect();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user