From 215aa6fa602d06d73ee0713e1e9234b263409521 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Sat, 1 Apr 2017 22:56:37 +0100 Subject: [PATCH] Remove support for loading mods from the support dir. --- OpenRA.Game/Game.cs | 2 +- OpenRA.Server/Program.cs | 2 +- OpenRA.Utility/Program.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/OpenRA.Game/Game.cs b/OpenRA.Game/Game.cs index 522d087c47..34b753e64e 100644 --- a/OpenRA.Game/Game.cs +++ b/OpenRA.Game/Game.cs @@ -317,7 +317,7 @@ namespace OpenRA var modSearchArg = args.GetValue("Engine.ModSearchPaths", null); var modSearchPaths = modSearchArg != null ? FieldLoader.GetValue("Engine.ModsPath", modSearchArg) : - new[] { Path.Combine(".", "mods"), Path.Combine("^", "mods") }; + new[] { Path.Combine(".", "mods") }; Mods = new InstalledMods(modSearchPaths, explicitModPaths); Console.WriteLine("Internal mods:"); diff --git a/OpenRA.Server/Program.cs b/OpenRA.Server/Program.cs index 00021e16f4..2cdbbda65a 100644 --- a/OpenRA.Server/Program.cs +++ b/OpenRA.Server/Program.cs @@ -46,7 +46,7 @@ namespace OpenRA.Server var envModSearchPaths = Environment.GetEnvironmentVariable("MOD_SEARCH_PATHS"); var modSearchPaths = !string.IsNullOrWhiteSpace(envModSearchPaths) ? FieldLoader.GetValue("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); diff --git a/OpenRA.Utility/Program.cs b/OpenRA.Utility/Program.cs index 401f2a76fe..334ffbde8d 100644 --- a/OpenRA.Utility/Program.cs +++ b/OpenRA.Utility/Program.cs @@ -48,7 +48,7 @@ namespace OpenRA var envModSearchPaths = Environment.GetEnvironmentVariable("MOD_SEARCH_PATHS"); var modSearchPaths = !string.IsNullOrWhiteSpace(envModSearchPaths) ? FieldLoader.GetValue("MOD_SEARCH_PATHS", envModSearchPaths) : - new[] { Path.Combine(".", "mods"), Path.Combine("^", "mods") }; + new[] { Path.Combine(".", "mods") }; if (args.Length == 0) {