Simplify legacy NPC targeting check by removing sequence dependency

This commit is contained in:
2026-05-11 21:34:38 +02:00
parent 19ee1b8c80
commit 3b4302c4a4

View File

@@ -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(