From d8bf424ac3bb6e3f8cb764a948f2d7ab290fb467 Mon Sep 17 00:00:00 2001 From: JustArchi Date: Sat, 11 Jun 2016 00:45:07 +0200 Subject: [PATCH] Make STM accept trading cards only, #245 --- ArchiSteamFarm/JSON/Steam.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArchiSteamFarm/JSON/Steam.cs b/ArchiSteamFarm/JSON/Steam.cs index 6ab6c9cbc..b25f7032e 100644 --- a/ArchiSteamFarm/JSON/Steam.cs +++ b/ArchiSteamFarm/JSON/Steam.cs @@ -251,7 +251,7 @@ namespace ArchiSteamFarm.JSON { // Extra internal ulong OtherSteamID64 => OtherSteamID3 == 0 ? 0 : new SteamID(OtherSteamID3, EUniverse.Public, EAccountType.Individual); - internal bool IsSteamCardsOnlyTradeForUs() => ItemsToGive.All(item => (item.AppID == Item.SteamAppID) && (item.ContextID == Item.SteamContextID) && ((item.Type == Item.EType.FoilTradingCard) || (item.Type == Item.EType.TradingCard))); + internal bool IsSteamCardsOnlyTradeForUs() => ItemsToGive.All(item => (item.AppID == Item.SteamAppID) && (item.ContextID == Item.SteamContextID) && (item.Type == Item.EType.TradingCard)); internal bool IsPotentiallyDupesTradeForUs() { Dictionary> itemsToGivePerGame = new Dictionary>();