fix lethality toggle (data. to system.)

This commit is contained in:
jalensailin
2024-06-08 02:15:36 -04:00
parent ed5d6aa895
commit 6cd71b5a5f
+1 -1
View File
@@ -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) {