diff --git a/module/data/fields/actionField.mjs b/module/data/fields/actionField.mjs index ba2fa37e..f2900bf4 100644 --- a/module/data/fields/actionField.mjs +++ b/module/data/fields/actionField.mjs @@ -237,7 +237,8 @@ export function ActionMixin(Base) { await this.parent.updateSource({ [path]: updates }, options); result = this.parent; } else { - result = await this.item.update({ [path]: updates }, options); + // If no changes occur, update returns undefined, but we need to re-retrieve the action anyways + result = (await this.item.update({ [path]: updates }, options)) ?? this.item; } return this.inCollection diff --git a/templates/actionTypes/damage.hbs b/templates/actionTypes/damage.hbs index f8adb628..d430b51f 100644 --- a/templates/actionTypes/damage.hbs +++ b/templates/actionTypes/damage.hbs @@ -12,7 +12,7 @@ {{#if source.main}}