From 97a2a960d313a920b61e7358126d007dcb572c8d Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Sat, 25 Apr 2026 03:04:07 +0200 Subject: [PATCH] auto-git: [change] src/runtime-three/runtime-host.ts --- src/runtime-three/runtime-host.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/runtime-three/runtime-host.ts b/src/runtime-three/runtime-host.ts index 55ab8bf1..e592c12d 100644 --- a/src/runtime-three/runtime-host.ts +++ b/src/runtime-three/runtime-host.ts @@ -4519,7 +4519,15 @@ export class RuntimeHost { return; } + if ( + dialogue === null || + this.activeDialogueAttentionState?.npcEntityId !== dialogue.npcEntityId + ) { + this.activeDialogueAttentionState = null; + } + this.currentDialogue = dialogue; + this.setDialoguePauseActive(dialogue !== null); this.runtimeDialogueHandler?.(dialogue); }