diff --git a/ArchiSteamFarm/Steam/Bot.cs b/ArchiSteamFarm/Steam/Bot.cs index 1d50ae474740c..eef99fb6044f6 100644 --- a/ArchiSteamFarm/Steam/Bot.cs +++ b/ArchiSteamFarm/Steam/Bot.cs @@ -3075,7 +3075,8 @@ private async void OnLoggedOn(SteamUser.LoggedOnCallback callback) { 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; } diff --git a/Directory.Build.props b/Directory.Build.props index c2459de7a45a0..9fa2f9b8acc1a 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,6 +1,6 @@ - 5.4.11.3 + 5.4.11.4