Skip to content

Commit

Permalink
Fix netf with new code
Browse files Browse the repository at this point in the history
  • Loading branch information
JustArchi committed Oct 18, 2023
1 parent bb1f02e commit 21b1a31
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ArchiSteamFarm/Steam/Bot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3075,7 +3075,8 @@ public sealed class Bot : IAsyncDisposable, IDisposable {

ArchiWebHandler.OnVanityURLChanged(callback.VanityURL);

if (string.IsNullOrEmpty(callback.WebAPIUserNonce) || !await ArchiWebHandler.Init(SteamID, SteamClient.Universe, callback.WebAPIUserNonce, SteamParentalActive ? BotConfig.SteamParentalCode : null).ConfigureAwait(false)) {
// ReSharper disable once RedundantSuppressNullableWarningExpression - required for .NET Framework
if (string.IsNullOrEmpty(callback.WebAPIUserNonce) || !await ArchiWebHandler.Init(SteamID, SteamClient.Universe, callback.WebAPIUserNonce!, SteamParentalActive ? BotConfig.SteamParentalCode : null).ConfigureAwait(false)) {
if (!await RefreshSession().ConfigureAwait(false)) {
return;
}
Expand Down
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<Version>5.4.11.3</Version>
<Version>5.4.11.4</Version>
</PropertyGroup>

<PropertyGroup>
Expand Down

0 comments on commit 21b1a31

Please sign in to comment.