Removed overprep

This commit is contained in:
WBHarry 2026-06-21 23:45:13 +02:00
parent 9618ad3d95
commit c7e8ce96cf

View file

@ -19,15 +19,10 @@ export function updateResourcesForDualityReroll(oldDuality, newDuality, actor) {
resourceUpdates.updateResources(); resourceUpdates.updateResources();
} }
if (countdownAutomation) { if (countdownAutomation && fear !== 0) {
const updates = []; game.system.api.applications.ui.DhCountdowns.updateCountdowns({
if (fear !== 0) { type: CONFIG.DH.GENERAL.countdownProgressionTypes.fear.id,
updates.push({ undo: fear === 1 ? false : true
type: CONFIG.DH.GENERAL.countdownProgressionTypes.fear.id, });
undo: fear === 1 ? false : true
});
}
game.system.api.applications.ui.DhCountdowns.updateCountdowns(...updates);
} }
} }