v10 compat: Update to new token animation name

This commit is contained in:
Manuel Vögele committed 2022-10-01 07:56:20 +02:00
1 parent 25fc6258e7
commit 58565b7011
1 file changed
+1 -3
+1 -3
View File
@@ -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