Merge pull request #13223 from pchote/mod-package-loaders

Unhardcode mod package loaders
This commit is contained in:
reaperrr
2017-05-12 14:04:58 +02:00
committed by GitHub
30 changed files with 1106 additions and 919 deletions

View File

@@ -271,7 +271,7 @@ namespace OpenRA.Mods.Cnc.UtilityCommands
map.PlayerDefinitions = mapPlayers.ToMiniYaml();
var dest = Path.GetFileNameWithoutExtension(args[1]) + ".oramap";
map.Save(ZipFile.Create(dest, new Folder(".")));
map.Save(ZipFileLoader.Create(dest, new Folder(".")));
Console.WriteLine(dest + " saved.");
}