changed back to cfg.pg_claimdlc confition

This commit is contained in:
zockol 2023-09-25 10:14:08 +02:00
parent 12476de69c
commit c6f5555c07

View file

@ -299,7 +299,7 @@ try {
} }
// https://github.com/vogler/free-games-claimer/issues/55 // https://github.com/vogler/free-games-claimer/issues/55
if (1) { if (cfg.pg_claimdlc) {
console.log('Trying to claim in-game content...'); console.log('Trying to claim in-game content...');
await page.click('button[data-type="InGameLoot"]'); await page.click('button[data-type="InGameLoot"]');
const loot = page.locator('div[data-a-target="offer-list-IN_GAME_LOOT"]'); const loot = page.locator('div[data-a-target="offer-list-IN_GAME_LOOT"]');