mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
Added environments (#537)
This commit is contained in:
parent
ef42f1f782
commit
7ead70b723
40 changed files with 5951 additions and 152 deletions
|
|
@ -93,7 +93,7 @@ export default class DHEnvironmentSettings extends DHBaseActorSettings {
|
|||
|
||||
const adversaries = foundry.utils.getProperty(this.actor, path);
|
||||
const newAdversaries = adversaries.filter(a => a.uuid !== doc.uuid);
|
||||
await this.actor.update({ [path]: newAdversaries });
|
||||
await this.actor.update({ [path]: newAdversaries.map(x => x.uuid) });
|
||||
}
|
||||
|
||||
async _onDragStart(event) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue