Fix undefined check in dialogue validation

This commit is contained in:
2026-04-14 23:36:00 +02:00
parent ea58fb7bd7
commit b8ab7f383d

View File

@@ -4776,7 +4776,7 @@ function validateProjectSequence(
); );
break; break;
case "startDialogue": case "startDialogue":
if (dialogues.dialogues.dialogues[step.dialogueId] === undefined) { if (dialogues.dialogues[step.dialogueId] === undefined) {
diagnostics.push( diagnostics.push(
createDiagnostic( createDiagnostic(
"error", "error",