diff --git a/lang/en.json b/lang/en.json index 3d0f9b07..3d225a82 100755 --- a/lang/en.json +++ b/lang/en.json @@ -113,7 +113,6 @@ "sectionTitle": "Areas", "shape": "Shape", "size": "Size" - }, "displayInChat": "Display in chat", "deleteTriggerTitle": "Delete Trigger", diff --git a/module/applications/sheets-configs/action-config.mjs b/module/applications/sheets-configs/action-config.mjs index 52067411..1de8f140 100644 --- a/module/applications/sheets-configs/action-config.mjs +++ b/module/applications/sheets-configs/action-config.mjs @@ -64,8 +64,7 @@ export default class DHActionConfig extends DHActionBaseConfig { const data = this.action.toObject(); data.area[areaIndex].effects.splice(index, 1); this.constructor.updateForm.bind(this)(null, null, { object: foundry.utils.flattenObject(data) }); - } - else { + } else { effectId = this.action.effects[index]._id; this.constructor.removeElement.bind(this)(event, button); }