Skip to content

Commit

Permalink
pg: PG_REDEEM: only pause if DEBUG=1
Browse files Browse the repository at this point in the history
  • Loading branch information
vogler committed Jul 13, 2023
1 parent 2e8a731 commit a90f90a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prime-gaming.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ try {
} else {
console.error(` Redeem on ${store} not yet implemented!`);
}
await page2.pause();
if (cfg.debug) await page.pause();
await page2.close();
}
notify_game.status = `<a href="${redeem[store]}">${redeem_action}</a> ${code} on ${store}`;
Expand Down

0 comments on commit a90f90a

Please sign in to comment.