From 123f3923d313027cd59009fe9c3abc6290ff40f4 Mon Sep 17 00:00:00 2001 From: kdmcser Date: Tue, 29 Oct 2024 00:35:03 +0800 Subject: [PATCH] Update lib/modding/ContentTypeHandler.cpp Co-authored-by: Ivan Savenko --- lib/modding/ContentTypeHandler.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/modding/ContentTypeHandler.cpp b/lib/modding/ContentTypeHandler.cpp index ac6bd0abe..2696080fe 100644 --- a/lib/modding/ContentTypeHandler.cpp +++ b/lib/modding/ContentTypeHandler.cpp @@ -201,7 +201,8 @@ void ContentTypeHandler::afterLoadFinalization() for (auto const & conflictModEntry: conflictModData.Struct()) conflictingMods.insert(conflictModEntry.first); - for (auto const & modID : conflictingMods) { + for (auto const & modID : conflictingMods) + { resolvedConflicts.merge(VLC->modh->getModDependencies(modID)); resolvedConflicts.merge(VLC->modh->getModEnabledSoftDependencies(modID)); }