Reset Initialized back to false on session refresh trigger

Otherwise we might get sessionID being null in a very tiny window between Steam invalidating it in our cookie container and ASF not yet having the new one
This commit is contained in:
JustArchi
2020-06-26 14:22:58 +02:00
parent bddf099323
commit f0401f2b47

View File

@@ -2534,6 +2534,8 @@ namespace ArchiSteamFarm {
return LastSessionCheck == LastSessionRefresh;
}
Initialized = false;
if (!Bot.IsConnectedAndLoggedOn) {
return false;
}