From c7e8ce96cf8141a3fba7d6e36f15261f0ba356e7 Mon Sep 17 00:00:00 2001 From: WBHarry Date: Sun, 21 Jun 2026 23:45:13 +0200 Subject: [PATCH] Removed overprep --- module/dice/helpers.mjs | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/module/dice/helpers.mjs b/module/dice/helpers.mjs index 0e732956..d03970d0 100644 --- a/module/dice/helpers.mjs +++ b/module/dice/helpers.mjs @@ -19,15 +19,10 @@ export function updateResourcesForDualityReroll(oldDuality, newDuality, actor) { resourceUpdates.updateResources(); } - if (countdownAutomation) { - const updates = []; - if (fear !== 0) { - updates.push({ - type: CONFIG.DH.GENERAL.countdownProgressionTypes.fear.id, - undo: fear === 1 ? false : true - }); - } - - game.system.api.applications.ui.DhCountdowns.updateCountdowns(...updates); + if (countdownAutomation && fear !== 0) { + game.system.api.applications.ui.DhCountdowns.updateCountdowns({ + type: CONFIG.DH.GENERAL.countdownProgressionTypes.fear.id, + undo: fear === 1 ? false : true + }); } }