From 00b7b14f2ecee48c572dbe1772e276b1d8ba5181 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Fri, 17 Feb 2017 20:53:17 +0000 Subject: [PATCH] Fix utility mod listing. --- OpenRA.Utility/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenRA.Utility/Program.cs b/OpenRA.Utility/Program.cs index 447cb65de7..4bdb92bed3 100644 --- a/OpenRA.Utility/Program.cs +++ b/OpenRA.Utility/Program.cs @@ -45,9 +45,10 @@ namespace OpenRA Game.InitializeSettings(Arguments.Empty); + var modSearchPaths = new[] { Path.Combine(".", "mods"), Path.Combine("^", "mods") }; if (args.Length == 0) { - PrintUsage(new InstalledMods(new string[0], new string[0]), null); + PrintUsage(new InstalledMods(modSearchPaths, new string[0]), null); return; } @@ -59,7 +60,6 @@ namespace OpenRA modId = Path.GetFileNameWithoutExtension(modId); } - var modSearchPaths = new[] { Path.Combine(".", "mods"), Path.Combine("^", "mods") }; var mods = new InstalledMods(modSearchPaths, explicitModPaths); if (!mods.Keys.Contains(modId)) {