From 5e576ddca4e1f95d564e733e5e76852b89251555 Mon Sep 17 00:00:00 2001 From: Oliver Brakmann Date: Thu, 12 Nov 2015 22:13:06 +0100 Subject: [PATCH 1/2] Add missing RequiresMods entry to mods/all/mod.yaml --- mods/all/mod.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mods/all/mod.yaml b/mods/all/mod.yaml index 873795c001..b5b58bef76 100644 --- a/mods/all/mod.yaml +++ b/mods/all/mod.yaml @@ -5,6 +5,8 @@ Metadata: Hidden: true Description: Depending on all DLLs. +RequiresMods: + Folders: . From f2bad4331d3dd44432fea6dc1ab5742f82bce2c2 Mon Sep 17 00:00:00 2001 From: Oliver Brakmann Date: Thu, 12 Nov 2015 22:13:38 +0100 Subject: [PATCH 2/2] Skip mod directories without a mod manifest file --- OpenRA.Game/Manifest.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OpenRA.Game/Manifest.cs b/OpenRA.Game/Manifest.cs index d35432d9a8..9b16e47264 100644 --- a/OpenRA.Game/Manifest.cs +++ b/OpenRA.Game/Manifest.cs @@ -189,6 +189,9 @@ namespace OpenRA var ret = new Dictionary(); foreach (var mod in mods) { + if (!File.Exists(Platform.ResolvePath(".", "mods", mod, "mod.yaml"))) + continue; + try { var manifest = new Manifest(mod);