mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-06 17:10:13 +00:00
Misc
This commit is contained in:
@@ -172,7 +172,12 @@ namespace ArchiSteamFarm {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
Bot.ArchiLogger.LogGenericInfo("We have a total of " + GamesToFarm.Count + " games (" + GamesToFarm.Sum(game => game.CardsRemaining) + " cards, about " + TimeRemaining.ToHumanReadable() + ") to farm on this account...");
|
if (GamesToFarm.Count == 0) {
|
||||||
|
Bot.ArchiLogger.LogNullError(nameof(GamesToFarm));
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
Bot.ArchiLogger.LogGenericInfo("We have a total of " + GamesToFarm.Count + " games (" + GamesToFarm.Sum(game => game.CardsRemaining) + " cards) left to farm (~" + TimeRemaining.ToHumanReadable() + " remaining).");
|
||||||
|
|
||||||
// This is the last moment for final check if we can farm
|
// This is the last moment for final check if we can farm
|
||||||
if (!Bot.IsPlayingPossible) {
|
if (!Bot.IsPlayingPossible) {
|
||||||
@@ -608,8 +613,7 @@ namespace ArchiSteamFarm {
|
|||||||
|
|
||||||
GamesToFarm.Remove(game);
|
GamesToFarm.Remove(game);
|
||||||
|
|
||||||
TimeSpan timeSpan = TimeSpan.FromHours(game.HoursPlayed);
|
Bot.ArchiLogger.LogGenericInfo("Done farming: " + game.AppID + " (" + game.GameName + ")" + (game.HoursPlayed > 0 ? " after " + TimeSpan.FromHours(game.HoursPlayed).ToHumanReadable() + " of playtime!" : ""));
|
||||||
Bot.ArchiLogger.LogGenericInfo("Done farming: " + game.AppID + " (" + game.GameName + ") after " + timeSpan.ToHumanReadable() + " of playtime!");
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user