From cf23d77dfbd766576f380c62453b6d2eeac19e68 Mon Sep 17 00:00:00 2001 From: JustArchi Date: Wed, 11 Jan 2017 15:55:28 +0100 Subject: [PATCH] Don't launch statistics on debug builds Builds, not in debug mode, I have enough of forbidden requests to my own API --- ArchiSteamFarm/Bot.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArchiSteamFarm/Bot.cs b/ArchiSteamFarm/Bot.cs index 5a743461c..c9f279ff4 100755 --- a/ArchiSteamFarm/Bot.cs +++ b/ArchiSteamFarm/Bot.cs @@ -214,7 +214,7 @@ namespace ArchiSteamFarm { //SteamSaleEvent = new SteamSaleEvent(this); Trading = new Trading(this); - if (Program.GlobalConfig.Statistics) { + if (!Debugging.IsDebugBuild && Program.GlobalConfig.Statistics) { Statistics = new Statistics(this); }