Skip to content

Commit

Permalink
Misc
Browse files Browse the repository at this point in the history
  • Loading branch information
JustArchi committed Dec 22, 2015
1 parent 465ca2d commit ab3bfe2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ArchiSteamFarm/CardsFarmer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ab3bfe2

Please sign in to comment.