Rename dialogues parameter to projectResources in validateProjectSequence

This commit is contained in:
2026-04-14 23:47:22 +02:00
parent 5526519fc0
commit 8c1f332a85

View File

@@ -4790,7 +4790,7 @@ function validateProjectDialogue(
function validateProjectSequence(
sequence: ProjectSequence,
path: string,
dialogues: Pick<ProjectDocument, "dialogues">,
projectResources: Pick<ProjectDocument, "dialogues">,
context: ProjectSchedulerValidationContext,
diagnostics: SceneDiagnostic[]
) {
@@ -4830,7 +4830,9 @@ function validateProjectSequence(
);
break;
case "startDialogue":
if (dialogues.dialogues[step.dialogueId] === undefined) {
if (
projectResources.dialogues.dialogues[step.dialogueId] === undefined
) {
diagnostics.push(
createDiagnostic(
"error",