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

@@ -266,7 +266,7 @@ namespace OpenRA
static void Initialize(Arguments args)
{
var supportDirArg = args.GetValue("Engine.SupportDir", null);
if (supportDirArg != null)
if (!string.IsNullOrEmpty(supportDirArg))
Platform.OverrideSupportDir(supportDirArg);
Console.WriteLine("Platform is {0}", Platform.CurrentPlatform);