Merge pull request #9976 from obrakmann/fix9975_mod-loading-exceptions

Fix exceptions while loading mods
This commit is contained in:
Pavel Penev
2015-11-13 22:22:45 +02:00
2 changed files with 5 additions and 0 deletions

View File

@@ -189,6 +189,9 @@ namespace OpenRA
var ret = new Dictionary<string, Manifest>();
foreach (var mod in mods)
{
if (!File.Exists(Platform.ResolvePath(".", "mods", mod, "mod.yaml")))
continue;
try
{
var manifest = new Manifest(mod);

View File

@@ -5,6 +5,8 @@ Metadata:
Hidden: true
Description: Depending on all DLLs.
RequiresMods:
Folders:
.