Skip to content

Commit

Permalink
Fix for issue of disposition
Browse files Browse the repository at this point in the history
  • Loading branch information
ChasarooniZ committed Aug 14, 2024
1 parent c611617 commit 17f50d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/autoColorRing.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function getSetting(actor, typeOrColor, ringOrBackground) {
[CONST.TOKEN_DISPOSITIONS.FRIENDLY]: "friendly",
[CONST.TOKEN_DISPOSITIONS.NEUTRAL]: "neutral",
[CONST.TOKEN_DISPOSITIONS.HOSTILE]: "hostile",
}[this.document.disposition] || "";
}[actor.token.document.disposition] || "";

return resolvePlayerWorldSetting(
`auto-coloring.${ringOrBackground}.${typeOrColor}.${type}`
Expand Down

0 comments on commit 17f50d7

Please sign in to comment.