mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-21 23:13:39 +02:00
Fixed TokenConfig error:ing on save
This commit is contained in:
parent
461247b285
commit
a3f515cf6d
1 changed files with 3 additions and 3 deletions
|
|
@ -67,9 +67,9 @@ export default function DHTokenConfigMixin(Base) {
|
||||||
changes.height = tokenSize;
|
changes.height = tokenSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
const deletions = { actorId: _del, actorLink: _del };
|
// const deletions = { actorId: _del };
|
||||||
const mergeOptions = { inplace: false, performDeletions: true };
|
// const mergeOptions = { inplace: false, performDeletions: true, actorLink: false };
|
||||||
this._preview.updateSource(foundry.utils.mergeObject(changes, deletions, mergeOptions));
|
this._preview.updateSource(changes);
|
||||||
|
|
||||||
if (this._preview?.object?.destroyed === false) {
|
if (this._preview?.object?.destroyed === false) {
|
||||||
this._preview.object.initializeSources();
|
this._preview.object.initializeSources();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue