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

@@ -471,7 +471,7 @@ namespace OpenRA
Log.Write("debug", "Downloaded map to '{0}'", mapFilename);
Game.RunAfterTick(() =>
{
var package = modData.ModFiles.OpenPackage(mapFilename, mapInstallPackage);
var package = mapInstallPackage.OpenPackage(mapFilename, modData.ModFiles);
if (package == null)
innerData.Status = MapStatus.DownloadError;
else