Update dialogue handling in migrate-scene-document.ts
This commit is contained in:
@@ -219,6 +219,7 @@ import {
|
|||||||
createEmptyProjectDialogueLibrary,
|
createEmptyProjectDialogueLibrary,
|
||||||
createProjectDialogue,
|
createProjectDialogue,
|
||||||
createProjectDialogueLine,
|
createProjectDialogueLine,
|
||||||
|
type ProjectDialogue,
|
||||||
type ProjectDialogueLibrary
|
type ProjectDialogueLibrary
|
||||||
} from "../dialogues/project-dialogues";
|
} from "../dialogues/project-dialogues";
|
||||||
import {
|
import {
|
||||||
@@ -333,7 +334,7 @@ function readOptionalDialogueResourceId(
|
|||||||
function readNpcDialogues(
|
function readNpcDialogues(
|
||||||
value: unknown,
|
value: unknown,
|
||||||
label: string,
|
label: string,
|
||||||
legacyProjectDialogues: ProjectDialogueLibrary
|
_legacyProjectDialogues: ProjectDialogueLibrary
|
||||||
): ProjectDialogue[] {
|
): ProjectDialogue[] {
|
||||||
if (value === undefined) {
|
if (value === undefined) {
|
||||||
return [];
|
return [];
|
||||||
|
|||||||
Reference in New Issue
Block a user