diff --git a/src/foundry_imports.js b/src/foundry_imports.js index 720e6cb..75759b4 100644 --- a/src/foundry_imports.js +++ b/src/foundry_imports.js @@ -65,9 +65,6 @@ async function animateTokens(tokens, draggedToken, draggedRays, wasPaused) { return {token, rays: offsetRays, dx, dy}; }); - for (const {token, rays} of tokenAnimationData) { - token._noAnimate = true; - } const animate = !game.keyboard.isDown("Alt"); const startWaypoint = animate ? 0 : tokenAnimationData[0].rays.length - 1; for (let i = startWaypoint;i < tokenAnimationData[0].rays.length; i++) { @@ -85,9 +82,6 @@ async function animateTokens(tokens, draggedToken, draggedRays, wasPaused) { if (animate) await Promise.all(tokenPaths.map(({token, path}) => token.animateMovement(path))); } - for (const {token} of tokenAnimationData) { - token._noAnimate = false; - } trackRays(tokens, tokenAnimationData.map(({rays}) => rays)).then(() => recalculate(tokens)); }