1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-02-26 19:54:14 +01:00

Fixed unload all bug

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4070
This commit is contained in:
David Anderson 2005-05-26 08:35:07 +00:00
parent 744d2415db
commit 181a5f6209

View File

@ -391,7 +391,7 @@ bool CPluginManager::UnloadAll()
{
if ( (*i)->m_API )
{
if ( (*i)->m_API->Unload(NULL, 0) )
if ( !(*i)->m_API->Unload(NULL, 0) )
status = false;
UnregAllConCmds( (*i) );