From c3c7d7e909a4cee574517a2749306e621e65a39f Mon Sep 17 00:00:00 2001 From: DazedAnon Date: Mon, 22 Jun 2026 06:12:40 -0500 Subject: [PATCH] Clear speaker in very specific early exit --- modules/rpgmakermvmz.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/rpgmakermvmz.py b/modules/rpgmakermvmz.py index 0852797..ffb944a 100644 --- a/modules/rpgmakermvmz.py +++ b/modules/rpgmakermvmz.py @@ -2434,10 +2434,8 @@ def searchCodes(page, pbar, jobList, filename): # Format String if len(currentGroup) > 0: rawSource = _group_raw_source(codeList, groupStart, sourceGroup) - if not rawSource.strip(): - i += 1 - continue - if not re.search(LANGREGEX, rawSource) and IGNORETLTEXT: + if (not rawSource.strip()) or (IGNORETLTEXT and not re.search(LANGREGEX, rawSource)): + speaker = "" i += 1 continue