1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-03-21 12:28:56 +01:00

Fixed bug where cvar list would get smashed on plugin unload

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40133
This commit is contained in:
David Anderson 2005-10-14 04:25:28 +00:00
parent 00a95792a9
commit 51d2273abf

View File

@ -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);
}
}