diff --git a/ArchiSteamFarm/Steam/Bot.cs b/ArchiSteamFarm/Steam/Bot.cs index 18907297187f8..ef0204fbaf547 100644 --- a/ArchiSteamFarm/Steam/Bot.cs +++ b/ArchiSteamFarm/Steam/Bot.cs @@ -3195,7 +3195,11 @@ private async void OnSharedLibraryLockStatus(ArchiHandler.SharedLibraryLockStatu await CheckOccupationStatus().ConfigureAwait(false); } - private void OnTradeCheckTimer(object? state = null) => Utilities.InBackground(Trading.OnNewTrade); + private void OnTradeCheckTimer(object? state = null) { + if (IsConnectedAndLoggedOn) { + Utilities.InBackground(Trading.OnNewTrade); + } + } private void OnUserNotifications(UserNotificationsCallback callback) { ArgumentNullException.ThrowIfNull(callback);