Ignore empty support directory overrides.

This commit is contained in:
Paul Chote
2020-02-02 13:04:37 +00:00
committed by abcdefg30
parent c2bc313bf0
commit 0e39c98989
2 changed files with 2 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ namespace OpenRA.Server
{
var arguments = new Arguments(args);
var supportDirArg = arguments.GetValue("Engine.SupportDir", null);
if (supportDirArg != null)
if (!string.IsNullOrEmpty(supportDirArg))
Platform.OverrideSupportDir(supportDirArg);
Log.AddChannel("debug", "dedicated-debug.log", true);