From 3b4302c4a48bd11f06c4472c0900699933af065f Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Mon, 11 May 2026 21:34:38 +0200 Subject: [PATCH] Simplify legacy NPC targeting check by removing sequence dependency --- src/document/migrate-scene-document.ts | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/document/migrate-scene-document.ts b/src/document/migrate-scene-document.ts index 7bcd0b9d..f47ff9b1 100644 --- a/src/document/migrate-scene-document.ts +++ b/src/document/migrate-scene-document.ts @@ -5231,14 +5231,8 @@ function readProjectSequenceLibrary( }; } -function hasLegacyNpcTargetingInteractionLink( - link: InteractionLink, - sequences: ProjectSequenceLibrary -): boolean { - return ( - link.trigger === "click" && - getInteractionLinkImpulseSteps(link, sequences).length > 0 - ); +function hasLegacyNpcTargetingInteractionLink(link: InteractionLink): boolean { + return link.trigger === "click"; } function migrateLegacySceneNpcTargetability(