Skip to content

Commit d8bf424

Browse files
committed
Make STM accept trading cards only, #245
1 parent 95d2860 commit d8bf424

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ArchiSteamFarm/JSON/Steam.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ private string TradeOfferIDString {
251251
// Extra
252252
internal ulong OtherSteamID64 => OtherSteamID3 == 0 ? 0 : new SteamID(OtherSteamID3, EUniverse.Public, EAccountType.Individual);
253253

254-
internal bool IsSteamCardsOnlyTradeForUs() => ItemsToGive.All(item => (item.AppID == Item.SteamAppID) && (item.ContextID == Item.SteamContextID) && ((item.Type == Item.EType.FoilTradingCard) || (item.Type == Item.EType.TradingCard)));
254+
internal bool IsSteamCardsOnlyTradeForUs() => ItemsToGive.All(item => (item.AppID == Item.SteamAppID) && (item.ContextID == Item.SteamContextID) && (item.Type == Item.EType.TradingCard));
255255

256256
internal bool IsPotentiallyDupesTradeForUs() {
257257
Dictionary<uint, Dictionary<Item.EType, uint>> itemsToGivePerGame = new Dictionary<uint, Dictionary<Item.EType, uint>>();

0 commit comments

Comments
 (0)