This commit is contained in:
JustArchi
2018-12-02 00:56:08 +01:00
parent a9691d04e7
commit a64ce524aa

View File

@@ -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!");