From 0c4812c4caab0224d311b2d3debf4db5a955700c Mon Sep 17 00:00:00 2001 From: Chenx221 Date: Thu, 5 Sep 2024 20:05:19 +0800 Subject: [PATCH] Fixing missing parts of the merged code #1 --- texthook/engine/match64.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/texthook/engine/match64.cc b/texthook/engine/match64.cc index 38ec217..86bf6c5 100644 --- a/texthook/engine/match64.cc +++ b/texthook/engine/match64.cc @@ -1038,7 +1038,7 @@ namespace Engine return true; } - if (Util::CheckFile(L"*.py") && InsertRenpyHook()) return true; + if (Util::CheckFile(L"*.py") && InsertRenpyHook() || InsertRenpy3Hook()) return true; for (const wchar_t* monoName : { L"mono.dll", L"mono-2.0-bdwgc.dll" }) if (HMODULE module = GetModuleHandleW(monoName)) if (InsertMonoHooks(module)) return true;