mirror of
https://github.com/JustArchiNET/ArchiSteamFarm
synced 2024-11-10 15:14:41 +00:00
Closes #3029
This commit is contained in:
parent
5d8826b71b
commit
bb1f02e788
1 changed files with 1 additions and 1 deletions
|
@ -3075,7 +3075,7 @@ public sealed class Bot : IAsyncDisposable, IDisposable {
|
||||||
|
|
||||||
ArchiWebHandler.OnVanityURLChanged(callback.VanityURL);
|
ArchiWebHandler.OnVanityURLChanged(callback.VanityURL);
|
||||||
|
|
||||||
if (!await ArchiWebHandler.Init(SteamID, SteamClient.Universe, callback.WebAPIUserNonce ?? throw new InvalidOperationException(nameof(callback.WebAPIUserNonce)), SteamParentalActive ? BotConfig.SteamParentalCode : null).ConfigureAwait(false)) {
|
if (string.IsNullOrEmpty(callback.WebAPIUserNonce) || !await ArchiWebHandler.Init(SteamID, SteamClient.Universe, callback.WebAPIUserNonce, SteamParentalActive ? BotConfig.SteamParentalCode : null).ConfigureAwait(false)) {
|
||||||
if (!await RefreshSession().ConfigureAwait(false)) {
|
if (!await RefreshSession().ConfigureAwait(false)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue