This commit is contained in:
WBHarry 2025-12-28 14:03:55 +01:00
parent 87dfebec2f
commit 0fe1194b7e
2 changed files with 2 additions and 1 deletions

View file

@ -543,6 +543,7 @@ export default class DhpActor extends Actor {
/* system gets repeated infinately which causes issues when trying to use the data for document creation */
delete rollData.system;
rollData.id = this.id;
rollData.name = this.name;
rollData.system = this.system.getRollData();
rollData.prof = this.system.proficiency ?? 1;