From bd3b46d624e5c17cab56f589b0365b910bcde091 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 13 Jan 2010 21:48:51 -0800 Subject: [PATCH] Fixed command listener spew on server shutdown (bug 4198, r=fyren). --- core/sourcemm_api.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/sourcemm_api.cpp b/core/sourcemm_api.cpp index edaa615b..44008a94 100644 --- a/core/sourcemm_api.cpp +++ b/core/sourcemm_api.cpp @@ -209,7 +209,9 @@ void SourceMod_Core::OnVSPListening(IServerPluginCallbacks *iface) void SourceMod_Core::OnUnlinkConCommandBase(PluginId id, ConCommandBase *pCommand) { +#if SOURCE_ENGINE < SE_ORANGEBOX Global_OnUnlinkConCommandBase(pCommand); +#endif } #else