From 14505f4366f6e40311e71e32ca2426275f2b5127 Mon Sep 17 00:00:00 2001 From: WBHarry Date: Tue, 11 Nov 2025 19:05:27 +0100 Subject: [PATCH] Fixed so it uses the currently viewed scene instead of the active one --- module/applications/hud/tokenHUD.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/applications/hud/tokenHUD.mjs b/module/applications/hud/tokenHUD.mjs index bd846da5..a5fd719f 100644 --- a/module/applications/hud/tokenHUD.mjs +++ b/module/applications/hud/tokenHUD.mjs @@ -89,7 +89,7 @@ export default class DHTokenHUD extends foundry.applications.hud.TokenHUD { setTimeout(() => token.document.delete(), animationDuration); } } else { - const activeScene = game.scenes.find(x => x.active); + const activeScene = game.scenes.find(x => x.id === game.user.viewedScene); const partyTokenData = []; for (let member of this.actor.system.partyMembers) { const data = await member.getTokenDocument();