diff --git a/ArchiSteamFarm/Steam/Bot.cs b/ArchiSteamFarm/Steam/Bot.cs index 8d62ba199e32c..7021841857b38 100644 --- a/ArchiSteamFarm/Steam/Bot.cs +++ b/ArchiSteamFarm/Steam/Bot.cs @@ -3298,6 +3298,8 @@ private async void OnRefreshTokensTimer(object? state = null) { if ((accessTokenValidUntil > DateTime.MinValue) && (accessTokenValidUntil > DateTime.UtcNow.AddMinutes(MinimumAccessTokenValidityMinutes))) { // We don't need to refresh just yet InitRefreshTokensTimer(accessTokenValidUntil); + + return; } await RefreshWebSession().ConfigureAwait(false);