Remove legacy FileSystem.OpenPackage(string, IReadOnlyPackage).

This commit is contained in:
Paul Chote
2017-05-24 21:41:13 +01:00
committed by abcdefg30
parent df40d38b91
commit 8321d1f3e3
10 changed files with 9 additions and 15 deletions

View File

@@ -26,7 +26,7 @@ namespace OpenRA.Mods.Common.UtilityCommands
[Desc("MAPFILE", "Generate hash of specified oramap file.")]
void IUtilityCommand.Run(Utility utility, string[] args)
{
using (var package = utility.ModData.ModFiles.OpenPackage(args[1], new Folder(".")))
using (var package = new Folder(".").OpenPackage(args[1], utility.ModData.ModFiles))
Console.WriteLine(Map.ComputeUID(package));
}
}