blah
This commit is contained in:
@@ -57,8 +57,7 @@ namespace OpenRA
|
|||||||
|
|
||||||
Dictionary<string, MapStub> FindMaps(string[] mods)
|
Dictionary<string, MapStub> FindMaps(string[] mods)
|
||||||
{
|
{
|
||||||
var paths = mods.Select(m => "mods/" + m + "/maps/")
|
var paths = mods.SelectMany(p => FindMapsIn("mods/" + p + "/maps/"));
|
||||||
.SelectMany(p => FindMapsIn(p));
|
|
||||||
|
|
||||||
return paths.Select(p => new MapStub(new Folder(p, int.MaxValue)))
|
return paths.Select(p => new MapStub(new Folder(p, int.MaxValue)))
|
||||||
.ToDictionary(m => m.Uid);
|
.ToDictionary(m => m.Uid);
|
||||||
|
|||||||
Reference in New Issue
Block a user