mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-12-07 02:18:30 +00:00
Fixed unload all bug
--HG-- extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4070
This commit is contained in:
parent
744d2415db
commit
181a5f6209
@ -391,7 +391,7 @@ bool CPluginManager::UnloadAll()
|
|||||||
{
|
{
|
||||||
if ( (*i)->m_API )
|
if ( (*i)->m_API )
|
||||||
{
|
{
|
||||||
if ( (*i)->m_API->Unload(NULL, 0) )
|
if ( !(*i)->m_API->Unload(NULL, 0) )
|
||||||
status = false;
|
status = false;
|
||||||
|
|
||||||
UnregAllConCmds( (*i) );
|
UnregAllConCmds( (*i) );
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user