Merge pull request #9976 from obrakmann/fix9975_mod-loading-exceptions
Fix exceptions while loading mods
This commit is contained in:
@@ -189,6 +189,9 @@ namespace OpenRA
|
|||||||
var ret = new Dictionary<string, Manifest>();
|
var ret = new Dictionary<string, Manifest>();
|
||||||
foreach (var mod in mods)
|
foreach (var mod in mods)
|
||||||
{
|
{
|
||||||
|
if (!File.Exists(Platform.ResolvePath(".", "mods", mod, "mod.yaml")))
|
||||||
|
continue;
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var manifest = new Manifest(mod);
|
var manifest = new Manifest(mod);
|
||||||
|
|||||||
@@ -5,6 +5,8 @@ Metadata:
|
|||||||
Hidden: true
|
Hidden: true
|
||||||
Description: Depending on all DLLs.
|
Description: Depending on all DLLs.
|
||||||
|
|
||||||
|
RequiresMods:
|
||||||
|
|
||||||
Folders:
|
Folders:
|
||||||
.
|
.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user