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;