Whomst removed the plugin update option check

This commit is contained in:
John Gross
2020-02-23 09:18:11 -08:00
parent d3de1426b2
commit f2a077deed

View File

@@ -158,10 +158,10 @@ namespace Torch.Managers
pluginsToLoad.Add(pluginItem); pluginsToLoad.Add(pluginItem);
} }
// Download any plugin updates.
bool updatesGotten = DownloadPluginUpdates(pluginsToLoad);
if (updatesGotten) if (Torch.Config.ShouldUpdatePlugins)
{
if (DownloadPluginUpdates(pluginsToLoad))
{ {
// Resort the plugins just in case updates changed load hints. // Resort the plugins just in case updates changed load hints.
pluginItems = GetLocalPlugins(PluginDir); pluginItems = GetLocalPlugins(PluginDir);
@@ -179,6 +179,7 @@ namespace Torch.Managers
pluginsToLoad.Add(pluginItem); pluginsToLoad.Add(pluginItem);
} }
} }
}
// Sort based on dependencies. // Sort based on dependencies.
try try