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

@@ -101,7 +101,7 @@ namespace OpenRA.Mods.Common.UtilityCommands
Console.WriteLine("Processing Maps:");
var maps = Game.ModData.MapCache
.Where(m => m.Status == MapStatus.Available)
.Select(m => m.Map);
.Select(m => new Map(m.Path));
foreach (var map in maps)
{