From a64ce524aa0caf2506ce2fefa6cc619c976ed183 Mon Sep 17 00:00:00 2001 From: JustArchi Date: Sun, 2 Dec 2018 00:56:08 +0100 Subject: [PATCH] Closes #954 --- ArchiSteamFarm/Statistics.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ArchiSteamFarm/Statistics.cs b/ArchiSteamFarm/Statistics.cs index 772350b48..a19842a14 100644 --- a/ArchiSteamFarm/Statistics.cs +++ b/ArchiSteamFarm/Statistics.cs @@ -386,13 +386,13 @@ namespace ArchiSteamFarm { ourInventoryState.Remove(skippedSetThisTrade); } + skippedSets.UnionWith(skippedSetsThisTrade); + if (ourInventoryState.Values.All(set => set.Values.All(amount => amount <= 1))) { // User doesn't have any more dupes in the inventory - Bot.ArchiLogger.LogGenericDebug("No dupes in inventory, returning"); + Bot.ArchiLogger.LogGenericDebug("No dupes in inventory, breaking"); break; } - - skippedSets.UnionWith(skippedSetsThisTrade); } Bot.ArchiLogger.LogGenericDebug("This round is over, we traded " + skippedSets.Count + " sets!");