fix lethality toggle (data. to system.)
This commit is contained in:
@@ -504,7 +504,7 @@ export default class DeltaGreenActorSheet extends ActorSheet {
|
||||
const itemId = event.target.getAttribute("item-id");
|
||||
const isLethal = event.target.getAttribute("is-lethal") === "true";
|
||||
const item = this.actor.items.find((i) => i.id === itemId);
|
||||
item.update({ "data.isLethal": !isLethal });
|
||||
item.update({ "system.isLethal": !isLethal });
|
||||
}
|
||||
|
||||
_showNewEditTypeSkillDialog(targetSkill, currentLabel, currentGroup) {
|
||||
|
||||
Reference in New Issue
Block a user