core/sourcemod.cpp
changeset 2632 f297107ad5da
parent 2628 541e48653064
child 2726 c96f3fab8211
     1.1 --- a/core/sourcemod.cpp	Sun Mar 01 01:19:51 2009 -0500
     1.2 +++ b/core/sourcemod.cpp	Sun Mar 01 01:35:39 2009 -0500
     1.3 @@ -300,6 +300,13 @@
     1.4  	{
     1.5  		g_SourceMod_Core.OnVSPListening(vsp_interface);
     1.6  	}
     1.7 +
     1.8 +	/* If we want to autoload, do that now */
     1.9 +	const char *disabled = GetCoreConfigValue("DisableAutoUpdate");
    1.10 +	if (disabled == NULL || strcasecmp(disabled, "yes") != 0)
    1.11 +	{
    1.12 +		g_Extensions.LoadAutoExtension("updater.ext." PLATFORM_LIB_EXT);
    1.13 +	}
    1.14  }
    1.15  
    1.16  static bool g_LevelEndBarrier = false;