Update dialogue handling in migrate-scene-document.ts

This commit is contained in:
2026-04-15 09:24:55 +02:00
parent 3f43a4e6d4
commit 888437ba4e

View File

@@ -219,6 +219,7 @@ import {
createEmptyProjectDialogueLibrary,
createProjectDialogue,
createProjectDialogueLine,
type ProjectDialogue,
type ProjectDialogueLibrary
} from "../dialogues/project-dialogues";
import {
@@ -333,7 +334,7 @@ function readOptionalDialogueResourceId(
function readNpcDialogues(
value: unknown,
label: string,
legacyProjectDialogues: ProjectDialogueLibrary
_legacyProjectDialogues: ProjectDialogueLibrary
): ProjectDialogue[] {
if (value === undefined) {
return [];