mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-13 20:21:06 +01:00
Fixed TokenHUD token property useage. Fixed skipping roll message
This commit is contained in:
parent
a23061a8be
commit
c3bd9f15a5
2 changed files with 5 additions and 3 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue