mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-22 10:29:54 +02:00
.
This commit is contained in:
parent
cc2cf1205c
commit
7fac6e8e82
1 changed files with 1 additions and 1 deletions
|
|
@ -897,7 +897,7 @@ export async function getWorldActor(baseActor) {
|
||||||
game.actors.find(x => x._stats.compendiumSource === baseActor.uuid && x.name === baseActor.name);
|
game.actors.find(x => x._stats.compendiumSource === baseActor.uuid && x.name === baseActor.name);
|
||||||
|
|
||||||
if (worldActorCopy)
|
if (worldActorCopy)
|
||||||
return worldActorCopy;
|
return worldActorCopy.toObject();
|
||||||
|
|
||||||
const baseActorData = baseActor.toObject();
|
const baseActorData = baseActor.toObject();
|
||||||
return await game.system.api.documents.DhpActor.create({
|
return await game.system.api.documents.DhpActor.create({
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue