Skip to content

Commit

Permalink
Handle for another possible hidden disposition
Browse files Browse the repository at this point in the history
  • Loading branch information
ChasarooniZ committed Aug 14, 2024
1 parent 404deaf commit 97bd9a8
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 @@ -98,7 +98,7 @@ function getSetting(token, typeOrColor, ringOrBackground) {
[CONST.TOKEN_DISPOSITIONS.FRIENDLY]: "friendly",
[CONST.TOKEN_DISPOSITIONS.NEUTRAL]: "neutral",
[CONST.TOKEN_DISPOSITIONS.HOSTILE]: "hostile",
}[token.document.disposition] || "";
}?.[token.document.disposition] || "neutral";

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

0 comments on commit 97bd9a8

Please sign in to comment.