This commit is contained in:
JustArchi
2021-04-18 11:58:45 +02:00
parent 9387c0f0e8
commit a77c0d0599

View File

@@ -916,7 +916,12 @@ namespace ArchiSteamFarm {
CurrentGamesFarming.ReplaceWith(games);
Bot.ArchiLogger.LogGenericInfo(string.Format(CultureInfo.CurrentCulture, Strings.NowIdlingList, string.Join(", ", games.Select(game => game.AppID))));
if (games.Count == 1) {
Game game = games.First();
Bot.ArchiLogger.LogGenericInfo(string.Format(CultureInfo.CurrentCulture, Strings.NowIdling, game.AppID, game.GameName));
} else {
Bot.ArchiLogger.LogGenericInfo(string.Format(CultureInfo.CurrentCulture, Strings.NowIdlingList, string.Join(", ", games.Select(game => game.AppID))));
}
bool result = await FarmHours(games).ConfigureAwait(false);
CurrentGamesFarming.Clear();