Skip to content

Commit

Permalink
Fix pf2e summoning characters every time
Browse files Browse the repository at this point in the history
  • Loading branch information
MrVauxs committed Dec 17, 2023
1 parent 0a344c4 commit cfa0803
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/summon/summon.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ async function summon(data) {
}`
)?.name;

if (futureActorName) actorName = futureActorName;
if (futureActorName && actorData.type === 'npc') actorName = futureActorName;

if (actorData.uuid.startsWith('Compendium') && data.summonerTokenDocument?.actorId) {
updates.actor.system.details.alliance = (
Expand Down

0 comments on commit cfa0803

Please sign in to comment.