From a72fe615939578e9f979d5fa4abcd9b11d65a296 Mon Sep 17 00:00:00 2001 From: 5xk Date: Sat, 13 Jun 2026 14:52:28 -0300 Subject: [PATCH] VcNarrator: don't narrate twice when using Overlay (#4300) Fixes #2717 --- src/plugins/vcNarrator/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/vcNarrator/index.tsx b/src/plugins/vcNarrator/index.tsx index cd05ebfaa..311371680 100644 --- a/src/plugins/vcNarrator/index.tsx +++ b/src/plugins/vcNarrator/index.tsx @@ -43,7 +43,8 @@ interface VoiceStateChangeEvent { // not say the second mute, which would lead you to believe they're unmuted function speak(text: string) { - if (!text) return; + // Don't narrate in the overlay window, otherwise everything is said twice + if (!text || window.__OVERLAY__) return; const { volume, rate } = settings.store;