Rename Platform.GameDir to Platform.EngineDir.

This commit is contained in:
Paul Chote
2020-11-21 15:23:36 +00:00
committed by teinarss
parent 72f1f06ebc
commit 1cc1f93fb0
18 changed files with 29 additions and 29 deletions

View File

@@ -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);