From 09f271e5d08d9a345670390882606e867649f604 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 21 Feb 2007 18:42:14 +0000 Subject: [PATCH] Fixed amb35, multiple plugins loading --- amxmodx/CPlugin.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/amxmodx/CPlugin.cpp b/amxmodx/CPlugin.cpp index 332d41c4..f9e8b813 100755 --- a/amxmodx/CPlugin.cpp +++ b/amxmodx/CPlugin.cpp @@ -153,6 +153,11 @@ int CPluginMngr::loadPluginsFromFile(const char* filename, bool warn) continue; } + if (findPlugin(pluginName) != NULL) + { + continue; + } + CPlugin* plugin = loadPlugin(pluginsDir, pluginName, error, debugFlag); if (plugin->getStatusCode() == ps_bad_load)