Fix utility commands being unable to open oramaps.

This commit is contained in:
Paul Chote
2016-07-09 00:30:04 +01:00
parent 196dd04b5d
commit 4e32610056
4 changed files with 6 additions and 4 deletions

View File

@@ -54,7 +54,7 @@ namespace OpenRA.Mods.Common.UtilityCommands
{
Game.ModData = modData;
var map = new Map(modData, modData.ModFiles.OpenPackage(args[1]));
var map = new Map(modData, modData.ModFiles.OpenPackage(args[1], new Folder(".")));
MergeAndPrint(map, "Rules", map.RuleDefinitions);
MergeAndPrint(map, "Sequences", map.SequenceDefinitions);
MergeAndPrint(map, "VoxelSequences", map.VoxelSequenceDefinitions);