Merge pull request #4331 from pchote/requires-fix

Allow mods to define a list of compatible map sources.
This commit is contained in:
ScottNZ
2013-12-18 19:22:09 -08:00
3 changed files with 13 additions and 2 deletions

View File

@@ -155,7 +155,7 @@ namespace OpenRA
try
{
var map = new Map(path, Manifest.Mod.Id);
if (map.RequiresMod == Manifest.Mod.Id)
if (Manifest.MapCompatibility.Contains(map.RequiresMod))
ret.Add(map.Uid, map);
}
catch (Exception e)