Allow the game root directory to be moved away from the binaries.
This commit is contained in:
@@ -40,6 +40,10 @@ namespace OpenRA
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
var engineDir = Environment.GetEnvironmentVariable("ENGINE_DIR");
|
||||
if (!string.IsNullOrEmpty(engineDir))
|
||||
Platform.OverrideEngineDir(engineDir);
|
||||
|
||||
Log.AddChannel("perf", null);
|
||||
Log.AddChannel("debug", null);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user