mirror of
https://github.com/JezuzLizard/T4SP-Server-Plugin.git
synced 2025-07-03 09:41:49 +00:00
Add more structs and symbols.
Check for T4SP environment to prevent MP from being ravaged.
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
|
||||
BOOL APIENTRY DllMain(HMODULE /*module_*/, DWORD ul_reason_for_call, LPVOID /*reserved_*/)
|
||||
{
|
||||
if (ul_reason_for_call == DLL_PROCESS_ATTACH)
|
||||
if (ul_reason_for_call == DLL_PROCESS_ATTACH && game::environment::t4sp())
|
||||
{
|
||||
component_loader::post_unpack();
|
||||
}
|
||||
|
Reference in New Issue
Block a user