mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 14:10:53 +00:00
Closes #954
This commit is contained in:
@@ -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!");
|
||||
|
||||
Reference in New Issue
Block a user