Merge branch 'main' into feature/death-moves

This commit is contained in:
Chris Ryan 2025-12-10 21:37:54 +10:00
commit 9ce5c27c85
3 changed files with 4 additions and 2 deletions

View file

@ -854,7 +854,7 @@ export default class DhpActor extends Actor {
acc.push(effect);
const currentStatusActiveEffects = acc.filter(
x => x.statuses.size === 1 && x.name === game.i18n.localize(statusMap.get(x.statuses.first()).name)
x => x.statuses.size === 1 && x.name === game.i18n.localize(statusMap.get(x.statuses.first())?.name)
);
for (var status of effect.statuses) {