remove support for loading from maps/

This commit is contained in:
Chris Forbes
2010-12-28 18:41:46 +13:00
parent 81f6843791
commit 637dbee32f

View File

@@ -57,7 +57,7 @@ namespace OpenRA
Dictionary<string, MapStub> FindMaps(string[] mods)
{
var paths = new[] { "maps/" }.Concat(mods.Select(m => "mods/" + m + "/maps/"))
var paths = mods.Select(m => "mods/" + m + "/maps/")
.SelectMany(p => FindMapsIn(p));
return paths.Select(p => new MapStub(new Folder(p, int.MaxValue)))