blah
This commit is contained in:
@@ -42,7 +42,6 @@ namespace OpenRA
|
||||
WidgetLoader = new WidgetLoader( this );
|
||||
}
|
||||
|
||||
// TODO: Do this nicer
|
||||
IEnumerable<string> FindMapsIn(string dir)
|
||||
{
|
||||
string[] NoMaps = { };
|
||||
@@ -59,7 +58,8 @@ namespace OpenRA
|
||||
var paths = new[] { "maps/" }.Concat(mods.Select(m => "mods/" + m + "/maps/"))
|
||||
.SelectMany(p => FindMapsIn(p));
|
||||
|
||||
return paths.Select(p => new MapStub(new Folder(p, int.MaxValue))).ToDictionary(m => m.Uid);
|
||||
return paths.Select(p => new MapStub(new Folder(p, int.MaxValue)))
|
||||
.ToDictionary(m => m.Uid);
|
||||
}
|
||||
|
||||
string cachedTileset = null;
|
||||
|
||||
Reference in New Issue
Block a user