From 51d2273abf42315b086f567f0f7423a6b6b05aff Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 14 Oct 2005 04:25:28 +0000 Subject: [PATCH] Fixed bug where cvar list would get smashed on plugin unload --HG-- extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40133 --- sourcemm/concommands.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/sourcemm/concommands.cpp b/sourcemm/concommands.cpp index a98008f..1a64829 100644 --- a/sourcemm/concommands.cpp +++ b/sourcemm/concommands.cpp @@ -547,6 +547,7 @@ void CAlwaysRegisterableCommand::BringToFront() pPrev->SetNext(m_pNext); // Remove us from the list } // Now, register us + SetNext(NULL); m_pICvar->RegisterConCommandBase(this); } }