Skip to content

Commit

Permalink
[#4726] Fix incorrect damage part being deleted on activity sheet
Browse files Browse the repository at this point in the history
Closes #4726
  • Loading branch information
arbron committed Nov 15, 2024
1 parent 0af6169 commit 039c1e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions module/applications/activity/activity-sheet.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,7 @@ export default class ActivitySheet extends Application5e {
const part = {
data,
fields: this.activity.schema.fields.damage.fields.parts.element.fields,
index: index + indexOffset,
prefix: `damage.parts.${index + indexOffset}.`,
source: context.source.damage.parts[index + indexOffset] ?? data,
canScale: this.activity.canScaleDamage,
Expand Down

0 comments on commit 039c1e2

Please sign in to comment.