Load and save maps using packages.

This commit is contained in:
Paul Chote
2016-02-20 17:23:49 +00:00
parent 9c3b967a47
commit 573e26c887
6 changed files with 48 additions and 43 deletions

View File

@@ -60,7 +60,7 @@ namespace OpenRA.Mods.Common.UtilityCommands
ValidateMapFormat(format);
var tileset = GetTileset(mapSection);
Map = new Map(Rules.TileSets[tileset], MapSize, MapSize)
Map = new Map(modData, Rules.TileSets[tileset], MapSize, MapSize)
{
Title = basic.GetValue("Name", Path.GetFileNameWithoutExtension(filename)),
Author = "Westwood Studios"