mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 22:20:52 +00:00
Misc
This commit is contained in:
@@ -648,11 +648,7 @@ public sealed class Trading : IDisposable {
|
||||
}
|
||||
|
||||
// Get sets we're interested in
|
||||
HashSet<(uint RealAppID, Asset.EType Type, Asset.ERarity Rarity)> wantedSets = new();
|
||||
|
||||
foreach (Asset item in tradeOffer.ItemsToGive) {
|
||||
wantedSets.Add((item.RealAppID, item.Type, item.Rarity));
|
||||
}
|
||||
HashSet<(uint RealAppID, Asset.EType Type, Asset.ERarity Rarity)> wantedSets = tradeOffer.ItemsToGive.Select(static item => (item.RealAppID, item.Type, item.Rarity)).ToHashSet();
|
||||
|
||||
// Now check if it's worth for us to do the trade
|
||||
HashSet<Asset> inventory;
|
||||
|
||||
Reference in New Issue
Block a user