diff --git a/r5dev/rtech/rtech_utils.cpp b/r5dev/rtech/rtech_utils.cpp index ac6257ec..393a1beb 100644 --- a/r5dev/rtech/rtech_utils.cpp +++ b/r5dev/rtech/rtech_utils.cpp @@ -650,14 +650,14 @@ RPakLoadedInfo_t* RTech::GetPakLoadedInfo(const char* szPakName) void RTech_Utils_Attach() { -#ifndef DEDICATED +#if not defined DEDICATED && defined (GAMEDLL_S3) DetourAttach((LPVOID*)&RTech_CreateDXTexture, &RTech::CreateDXTexture); #endif } void RTech_Utils_Detach() { -#ifndef DEDICATED +#if not defined DEDICATED && defined (GAMEDLL_S3) DetourDetach((LPVOID*)&RTech_CreateDXTexture, &RTech::CreateDXTexture); #endif }