From da8e160586e415f9114646306b23b491262478c8 Mon Sep 17 00:00:00 2001 From: Ralf Vogler Date: Wed, 23 Jul 2025 00:37:16 +0200 Subject: [PATCH] eg: fix missing timeEnd for claim in case of cfg.interactive --- epic-games.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/epic-games.js b/epic-games.js index 3213707..7a3de1a 100644 --- a/epic-games.js +++ b/epic-games.js @@ -266,7 +266,10 @@ try { if (cfg.time) console.timeEnd('claim game'); continue; } - if (cfg.interactive && !await confirm()) continue; + if (cfg.interactive && !await confirm()) { + if (cfg.time) console.timeEnd('claim game'); + continue; + } // Playwright clicked before button was ready to handle event, https://github.com/vogler/free-games-claimer/issues/84#issuecomment-1474346591 await iframe.locator('button:has-text("Place Order"):not(:has(.payment-loading--loading))').click({ delay: 11 });