From ab3bfe2460b994ab0e3bf2ce8a56047b44311e42 Mon Sep 17 00:00:00 2001 From: JustArchi <JustArchi@JustArchi.net> Date: Tue, 22 Dec 2015 19:13:04 +0100 Subject: [PATCH] Misc --- ArchiSteamFarm/CardsFarmer.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ArchiSteamFarm/CardsFarmer.cs b/ArchiSteamFarm/CardsFarmer.cs index 831674a0b1b01..6da840cfebf4e 100755 --- a/ArchiSteamFarm/CardsFarmer.cs +++ b/ArchiSteamFarm/CardsFarmer.cs @@ -235,13 +235,14 @@ internal async Task StartFarming() { } } - Logging.LogGenericInfo(Bot.BotName, "Farming in progress..."); - if (GamesToFarm.Count == 0) { + Logging.LogGenericInfo(Bot.BotName, "No games to farm!"); Semaphore.Release(); return; } + Logging.LogGenericInfo(Bot.BotName, "Farming in progress..."); + NowFarming = true; Semaphore.Release(); // From this point we allow other calls to shut us down