From 9d9bcad9d35cb19e5d82eb22293f48f6c8f797f3 Mon Sep 17 00:00:00 2001 From: JustArchi Date: Thu, 29 Jun 2017 15:24:09 +0200 Subject: [PATCH] Misc --- ArchiSteamFarm/Trading.cs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/ArchiSteamFarm/Trading.cs b/ArchiSteamFarm/Trading.cs index 01e59699e..1ea3b2971 100644 --- a/ArchiSteamFarm/Trading.cs +++ b/ArchiSteamFarm/Trading.cs @@ -104,11 +104,9 @@ namespace ArchiSteamFarm { if (Bot.HasMobileAuthenticator) { HashSet acceptedWithItemLoseTradeIDs = new HashSet(results.Where(result => (result != null) && (result.Result == ParseTradeResult.EResult.AcceptedWithItemLose)).Select(result => result.TradeID)); if (acceptedWithItemLoseTradeIDs.Count > 0) { - if (Bot.HasMobileAuthenticator) { - // Give Steam network some time to generate confirmations - await Task.Delay(3000).ConfigureAwait(false); - await Bot.AcceptConfirmations(true, Steam.ConfirmationDetails.EType.Trade, 0, acceptedWithItemLoseTradeIDs).ConfigureAwait(false); - } + // Give Steam network some time to generate confirmations + await Task.Delay(3000).ConfigureAwait(false); + await Bot.AcceptConfirmations(true, Steam.ConfirmationDetails.EType.Trade, 0, acceptedWithItemLoseTradeIDs).ConfigureAwait(false); } }