mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-22 18:39:55 +02:00
Removed overprep
This commit is contained in:
parent
9618ad3d95
commit
c7e8ce96cf
1 changed files with 5 additions and 10 deletions
|
|
@ -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
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue