Re-landed automating updating (bug 3530, r=pred).

This commit is contained in:
David Anderson
2009-03-01 01:35:39 -05:00
parent 2e8a53ff34
commit 6ebbb48f9f
4 changed files with 26 additions and 1 deletions
+7
View File
@@ -300,6 +300,13 @@ void SourceModBase::StartSourceMod(bool late)
{
g_SourceMod_Core.OnVSPListening(vsp_interface);
}
/* If we want to autoload, do that now */
const char *disabled = GetCoreConfigValue("DisableAutoUpdate");
if (disabled == NULL || strcasecmp(disabled, "yes") != 0)
{
g_Extensions.LoadAutoExtension("updater.ext." PLATFORM_LIB_EXT);
}
}
static bool g_LevelEndBarrier = false;