Use the same for multiple games

This commit is contained in:
JustArchi 2020-06-02 13:21:02 +02:00
parent 2c49920ea8
commit 1e0b874952

View file

@ -894,7 +894,7 @@ namespace ArchiSteamFarm {
return;
}
await ArchiHandler.PlayGames(games.Select(game => game.PlayableAppID), BotConfig.CustomGamePlayedWhileFarming).ConfigureAwait(false);
await ArchiHandler.PlayGames(games.Select(game => game.PlayableAppID), string.Format(BotConfig.CustomGamePlayedWhileFarming, string.Join(", ", games.Select(game => game.AppID)), string.Join(", ", games.Select(game => game.GameName)))).ConfigureAwait(false);
}
internal async Task ImportKeysToRedeem(string filePath) {