diff --git a/src/documents/active-effect.js b/src/documents/active-effect.js index a3a2d077..8410e574 100644 --- a/src/documents/active-effect.js +++ b/src/documents/active-effect.js @@ -152,8 +152,9 @@ export class DS4ActiveEffect extends ActiveEffect { // Apply all changes for (const changeWithEffect of changesWithEffect) { - const result = changeWithEffect.effect.apply(document, changeWithEffect.change); - if (result !== null) overrides[changeWithEffect.change.key] = result; + if (!changeWithEffect.change.key) continue; + const changes = changeWithEffect.effect.apply(document, changeWithEffect.change); + Object.assign(overrides, changes); } // Expand the set of final overrides