diff --git a/extensions/sdktools/extension.cpp b/extensions/sdktools/extension.cpp index 269f5e2c..ba175808 100644 --- a/extensions/sdktools/extension.cpp +++ b/extensions/sdktools/extension.cpp @@ -441,11 +441,6 @@ public: { return iserver; } - - virtual IGameRules *GetGameRules() - { - return (IGameRules*)g_pGameRules; - } } g_SDKTools_API; static void InitSDKToolsAPI() diff --git a/public/extensions/ISDKTools.h b/public/extensions/ISDKTools.h index f353e800..289f41d1 100644 --- a/public/extensions/ISDKTools.h +++ b/public/extensions/ISDKTools.h @@ -35,10 +35,9 @@ #include #define SMINTERFACE_SDKTOOLS_NAME "ISDKTools" -#define SMINTERFACE_SDKTOOLS_VERSION 2 +#define SMINTERFACE_SDKTOOLS_VERSION 1 class IServer; -class IGameRules; /** * @brief SDKTools shared API @@ -62,13 +61,6 @@ namespace SourceMod * @return IServer pointer, or NULL if SDKTools was unable to find one. */ virtual IServer* GetIServer() = 0; - - /** - * @brief Returns a pointer to GameRules if one was found. - * - * @return GameRules pointer, or NULL if SDKTools was unable to find one. - */ - virtual IGameRules* GetGameRules() = 0; }; }