load maps only from MapFolders defined separately in mod.yaml

This commit is contained in:
Matthias Mailänder
2013-10-27 09:22:10 +01:00
parent c87c4cfda2
commit 74692bde66
6 changed files with 16 additions and 7 deletions

View File

@@ -149,7 +149,7 @@ namespace OpenRA
Dictionary<string, Map> FindMaps()
{
var paths = Manifest.Folders.SelectMany(f => FindMapsIn(f));
var paths = Manifest.MapFolders.SelectMany(f => FindMapsIn(f));
var ret = new Dictionary<string, Map>();