[Feature] Improved Countdown Animations (#2010)
Some checks failed
Project CI / build (24.x) (push) Has been cancelled

This commit is contained in:
WBHarry 2026-06-17 00:13:18 +02:00 committed by GitHub
parent d2e87e4eb9
commit 975c655828
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 37 additions and 58 deletions

View file

@ -25,7 +25,8 @@ export default class DhCountdowns extends foundry.abstract.DataModel {
return acc;
}, []);
foundry.ui.countdowns.changedCountdownsForAnimation.add(...changedCountdowns);
for (const countdownKey of changedCountdowns)
foundry.ui.countdowns.changedCountdownsForAnimation.add(countdownKey);
}
}