Fixed TokenHUD token property useage. Fixed skipping roll message

This commit is contained in:
WBHarry 2025-11-08 19:30:02 +01:00
parent a23061a8be
commit c3bd9f15a5
2 changed files with 5 additions and 3 deletions

View file

@ -77,7 +77,7 @@ export default class DHTokenHUD extends foundry.applications.hud.TokenHUD {
const animationDuration = 500;
const activeTokens = this.actor.system.partyMembers.flatMap(member => member.getActiveTokens());
const { x: actorX, y: actorY } = this.actor.token;
const { x: actorX, y: actorY } = this.document;
if (activeTokens.length > 0) {
for (let token of activeTokens) {
await token.document.update(