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:
parent
00a95792a9
commit
51d2273abf
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user