remove support for loading from maps/
This commit is contained in:
@@ -57,7 +57,7 @@ namespace OpenRA
|
|||||||
|
|
||||||
Dictionary<string, MapStub> FindMaps(string[] mods)
|
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));
|
.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)))
|
||||||
|
|||||||
Reference in New Issue
Block a user