Rename Platform.GameDir to Platform.EngineDir.
This commit is contained in:
@@ -54,7 +54,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(Platform.GameDir, "mods") };
|
||||
new[] { Path.Combine(Platform.EngineDir, "mods") };
|
||||
|
||||
var mods = new InstalledMods(modSearchPaths, explicitModPaths);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user