From 58565b701183ab45fe4587d69a460018ca7278f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20V=C3=B6gele?= Date: Sat, 1 Oct 2022 07:56:20 +0200 Subject: [PATCH] v10 compat: Update to new token animation name --- src/foundry_imports.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/foundry_imports.js b/src/foundry_imports.js index 4207246..dbd0152 100644 --- a/src/foundry_imports.js +++ b/src/foundry_imports.js @@ -95,9 +95,7 @@ async function animateEntities(entities, draggedEntity, draggedRays, wasPaused) ); if (animate) await Promise.all( - entityPaths.map( - ({entity}) => CanvasAnimation.getAnimation(entity.movementAnimationName)?.promise, - ), + entityPaths.map(({entity}) => CanvasAnimation.getAnimation(entity.animationName)?.promise), ); // This is a flag of the "Monk's Active Tile Triggers" module that signals that the movement should be cancelled early