Allow CustomGamePlayedWhileFarming to make use of appID and gameName of the currently farmed title

This commit is contained in:
JustArchi
2020-06-02 13:02:35 +02:00
parent 291a214051
commit 2c49920ea8

View File

@@ -884,7 +884,7 @@ namespace ArchiSteamFarm {
return;
}
await ArchiHandler.PlayGames(game.PlayableAppID.ToEnumerable(), BotConfig.CustomGamePlayedWhileFarming).ConfigureAwait(false);
await ArchiHandler.PlayGames(game.PlayableAppID.ToEnumerable(), string.Format(BotConfig.CustomGamePlayedWhileFarming, game.AppID, game.GameName)).ConfigureAwait(false);
}
internal async Task IdleGames(IReadOnlyCollection<CardsFarmer.Game> games) {