Remove MapPreview.Map.

This commit is contained in:
Paul Chote
2016-02-05 22:04:06 +00:00
parent 3708a7649d
commit 7b00da04ca
6 changed files with 8 additions and 9 deletions

View File

@@ -78,7 +78,7 @@ namespace OpenRA.Mods.Common.UtilityCommands
Game.ModData.MapCache.LoadMaps();
maps.AddRange(Game.ModData.MapCache
.Where(m => m.Status == MapStatus.Available)
.Select(m => m.Map));
.Select(m => new Map(m.Path)));
}
else
maps.Add(new Map(args[1]));