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();
}
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
});
}
}