diff --git a/extensions/cstrike/extension.cpp b/extensions/cstrike/extension.cpp index c0a309d0..4a736fad 100644 --- a/extensions/cstrike/extension.cpp +++ b/extensions/cstrike/extension.cpp @@ -59,11 +59,13 @@ ISDKTools *g_pSDKTools = NULL; bool CStrike::SDK_OnLoad(char *error, size_t maxlength, bool late) { - if (strcmp(g_pSM->GetGameFolderName(), "cstrike") != 0 && strcmp(g_pSM->GetGameFolderName(), "csgo") != 0) +#if SOURCE_ENGINE != SE_CSGO + if (strcmp(g_pSM->GetGameFolderName(), "cstrike") != 0) { snprintf(error, maxlength, "Cannot Load Cstrike Extension on mods other than CS:S and CS:GO"); return false; } +#endif sharesys->AddDependency(myself, "bintools.ext", true, true); sharesys->AddDependency(myself, "sdktools.ext", false, true);