From 8b1cc1030e9643a6ba996e1ee78bef6e3f9435d1 Mon Sep 17 00:00:00 2001 From: JustArchi Date: Tue, 2 Jul 2019 21:22:28 +0200 Subject: [PATCH] Include game name in the output stats --- ArchiSteamFarm/Commands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArchiSteamFarm/Commands.cs b/ArchiSteamFarm/Commands.cs index e5289bc76..6c8b05058 100644 --- a/ArchiSteamFarm/Commands.cs +++ b/ArchiSteamFarm/Commands.cs @@ -1784,7 +1784,7 @@ namespace ArchiSteamFarm { ownedGamesStats[gameID] = ownedGameStats; } - IEnumerable extraResponses = ownedGamesStats.Select(kv => FormatStaticResponse(string.Format(Strings.BotOwnsOverviewPerGame, kv.Value, validResults.Count, kv.Key))); + IEnumerable extraResponses = ownedGamesStats.Select(kv => FormatStaticResponse(string.Format(Strings.BotOwnsOverviewPerGame, kv.Value, validResults.Count, kv.Key + (!string.IsNullOrEmpty(kv.Value.GameName) ? " | " + kv.Value.GameName : "")))); return string.Join(Environment.NewLine, validResults.Select(result => result.Response).Concat(extraResponses)); }