summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/ModLoading
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-03-30 22:51:34 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-03-30 22:51:34 -0400
commit30e89b3a3373d3a73f62e7297ac27db8de70246b (patch)
treea29a18042822d1bea56f2b2a5b72a9150cc43781 /src/SMAPI/Framework/ModLoading
parentc3555c74f558cae5041c882fba0377d9fa2894be (diff)
downloadSMAPI-30e89b3a3373d3a73f62e7297ac27db8de70246b.tar.gz
SMAPI-30e89b3a3373d3a73f62e7297ac27db8de70246b.tar.bz2
SMAPI-30e89b3a3373d3a73f62e7297ac27db8de70246b.zip
fix mods not being loaded if an optional dependency is installed but skipped
Diffstat (limited to 'src/SMAPI/Framework/ModLoading')
-rw-r--r--src/SMAPI/Framework/ModLoading/ModResolver.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/SMAPI/Framework/ModLoading/ModResolver.cs b/src/SMAPI/Framework/ModLoading/ModResolver.cs
index f878a1b9..a9896278 100644
--- a/src/SMAPI/Framework/ModLoading/ModResolver.cs
+++ b/src/SMAPI/Framework/ModLoading/ModResolver.cs
@@ -352,6 +352,7 @@ namespace StardewModdingAPI.Framework.ModLoading
{
// sorted successfully
case ModDependencyStatus.Sorted:
+ case ModDependencyStatus.Failed when !dependency.IsRequired: // ignore failed optional dependency
break;
// failed, which means this mod can't be loaded either