1.1 --- a/core/systems/PluginSys.cpp Mon Oct 22 05:35:31 2007 +0000
1.2 +++ b/core/systems/PluginSys.cpp Mon Oct 22 05:53:38 2007 +0000
1.3 @@ -363,13 +363,11 @@
1.4
1.5 cell_t result;
1.6 IPluginFunction *pFunction = m_ctx.base->GetFunctionByName("OnAllPluginsLoaded");
1.7 - if (!pFunction)
1.8 + if (pFunction != NULL)
1.9 {
1.10 - return;
1.11 + pFunction->Execute(&result);
1.12 }
1.13
1.14 - pFunction->Execute(&result);
1.15 -
1.16 if (g_OnMapStarted)
1.17 {
1.18 if ((pFunction = m_ctx.base->GetFunctionByName("OnMapStart")) != NULL)