Remove support for loading mods from the support dir.

This commit is contained in:
Paul Chote
2017-04-01 22:56:37 +01:00
parent e984c98565
commit 215aa6fa60
3 changed files with 3 additions and 3 deletions

View File

@@ -46,7 +46,7 @@ namespace OpenRA.Server
var envModSearchPaths = Environment.GetEnvironmentVariable("MOD_SEARCH_PATHS");
var modSearchPaths = !string.IsNullOrWhiteSpace(envModSearchPaths) ?
FieldLoader.GetValue<string[]>("MOD_SEARCH_PATHS", envModSearchPaths) :
new[] { Path.Combine(".", "mods"), Path.Combine("^", "mods") };
new[] { Path.Combine(".", "mods") };
var mod = Game.Settings.Game.Mod;
var mods = new InstalledMods(modSearchPaths, explicitModPaths);