From b5d28bb71749668dc814b98d7dfad3ef174e3485 Mon Sep 17 00:00:00 2001 From: Zarklord Date: Thu, 20 Feb 2020 21:07:47 -0500 Subject: [PATCH] fixed certain prop files being un-postinit-able --- UniversalPropertyEnhancer/dllmain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UniversalPropertyEnhancer/dllmain.cpp b/UniversalPropertyEnhancer/dllmain.cpp index bba0f28..903d75e 100644 --- a/UniversalPropertyEnhancer/dllmain.cpp +++ b/UniversalPropertyEnhancer/dllmain.cpp @@ -61,7 +61,7 @@ BOOL APIENTRY DllMain( HMODULE hModule, switch (ul_reason_for_call) { case DLL_PROCESS_ATTACH: - ModAPI::AddPostInitFunction(Initialize); + ModAPI::AddInitFunction(Initialize); ModAPI::AddDisposeFunction(Dispose); PrepareDetours(hModule);