From 9fd4ef2b63d053833a0e3948e5805731be15c7d7 Mon Sep 17 00:00:00 2001 From: JustArchi Date: Wed, 7 Sep 2022 19:18:55 +0200 Subject: [PATCH] Add helpful comment --- ArchiSteamFarm/Steam/Interaction/Actions.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ArchiSteamFarm/Steam/Interaction/Actions.cs b/ArchiSteamFarm/Steam/Interaction/Actions.cs index cfcac3ef3..fa5226b1c 100644 --- a/ArchiSteamFarm/Steam/Interaction/Actions.cs +++ b/ArchiSteamFarm/Steam/Interaction/Actions.cs @@ -325,6 +325,9 @@ public sealed class Actions : IAsyncDisposable, IDisposable { return (false, Strings.BotSendingTradeToYourself); } + // Marking sent trades is crucial in regards to refreshing current state on Steam side + // Steam might not always realize e.g. "items no longer available" trades without it, and prevent us from sending further ones + // A simple visit to sent trade offers page will suffice if (!await Bot.ArchiWebHandler.MarkSentTrades().ConfigureAwait(false)) { return (false, Strings.BotLootingFailed); }