From b6313662f5ee6219b9985d3bd1b2b562452653b5 Mon Sep 17 00:00:00 2001 From: Carlos Fernandez Date: Thu, 4 Jun 2026 01:51:40 -0400 Subject: [PATCH] Respect animation setting when using randomizer --- token-variants/scripts/hooks/popUpRandomizeHooks.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/token-variants/scripts/hooks/popUpRandomizeHooks.js b/token-variants/scripts/hooks/popUpRandomizeHooks.js index b8ec31e..6818f81 100644 --- a/token-variants/scripts/hooks/popUpRandomizeHooks.js +++ b/token-variants/scripts/hooks/popUpRandomizeHooks.js @@ -24,6 +24,7 @@ async function _createToken(token, options, userId) { inplace: false, recursive: false, }); + const worldHudSettings = TVA_CONFIG.worldHud; let vDown = keyPressed('v'); const flagTarget = token.actor ? game.actors.get(token.actor.id) : token.document ?? token; @@ -56,6 +57,7 @@ async function _createToken(token, options, userId) { token: token, actor: token.actor, imgName: img[1], + animate: worldHudSettings.animate, }); }