diff --git a/ArchiSteamFarm/JSON/Steam.cs b/ArchiSteamFarm/JSON/Steam.cs index e9b5f9fd2..ab28353dd 100644 --- a/ArchiSteamFarm/JSON/Steam.cs +++ b/ArchiSteamFarm/JSON/Steam.cs @@ -294,7 +294,7 @@ namespace ArchiSteamFarm { } } - // Ensure that amount per type and per game matches + // Ensure that amount of items to give is at least amount of items to receive (per game and per type) foreach (KeyValuePair> ItemsPerGame in ItemsToGivePerGame) { Dictionary otherItemsPerType; if (!ItemsToReceivePerGame.TryGetValue(ItemsPerGame.Key, out otherItemsPerType)) { @@ -307,7 +307,7 @@ namespace ArchiSteamFarm { return false; } - if (ItemsPerType.Value != otherAmount) { + if (ItemsPerType.Value > otherAmount) { return false; } }