diff --git a/OpenRA.Utility/Command.cs b/OpenRA.Utility/Command.cs index 5e2736e505..a68111e987 100644 --- a/OpenRA.Utility/Command.cs +++ b/OpenRA.Utility/Command.cs @@ -297,8 +297,8 @@ namespace OpenRA.Utility public static void GenerateMinimap(string[] args) { var map = new Map(args[1]); - - Game.modData = new ModData(map.RequiresMod); + var mod = args.Length > 1 ? args[2] : map.RequiresMod; + Game.modData = new ModData(mod); FileSystem.UnmountAll(); foreach (var dir in Game.modData.Manifest.Folders) diff --git a/OpenRA.Utility/Program.cs b/OpenRA.Utility/Program.cs index e9dce0c937..6cac4f4067 100644 --- a/OpenRA.Utility/Program.cs +++ b/OpenRA.Utility/Program.cs @@ -63,7 +63,7 @@ namespace OpenRA.Utility Console.WriteLine(" --transpose SRCSHP DESTSHP START N M [START N M ...] Transpose the N*M block of frames starting at START."); Console.WriteLine(" --docs MOD Generate trait documentation in MarkDown format."); Console.WriteLine(" --map-hash MAPFILE Generate hash of specified oramap file."); - Console.WriteLine(" --minimap MAPFILE Render PNG minimap of specified oramap file."); + Console.WriteLine(" --minimap MAPFILE [MOD] Render PNG minimap of specified oramap file."); } static string GetNamedArg(string[] args, string arg)