1.1 --- a/core/sourcemod.cpp Sun Mar 31 22:03:57 2013 -0700
1.2 +++ b/core/sourcemod.cpp Wed Apr 03 12:25:54 2013 -0400
1.3 @@ -299,6 +299,12 @@
1.4 g_SourceMod_Core.OnVSPListening(vsp_interface);
1.5 }
1.6
1.7 + if (late)
1.8 + {
1.9 + /* We missed doing anythin gin this if we late-loaded. Sneak it in now. */
1.10 + AllPluginsLoaded();
1.11 + }
1.12 +
1.13 /* If we want to autoload, do that now */
1.14 const char *disabled = GetCoreConfigValue("DisableAutoUpdate");
1.15 if (disabled == NULL || strcasecmp(disabled, "yes") != 0)
1.16 @@ -637,6 +643,11 @@
1.17
1.18 void SourceModBase::AllPluginsLoaded()
1.19 {
1.20 + if (!g_Loaded)
1.21 + {
1.22 + return;
1.23 + }
1.24 +
1.25 SMGlobalClass *base = SMGlobalClass::head;
1.26 while (base)
1.27 {