Fixed dependencies not enabling/disabling other dependencies (#5717)

This commit is contained in:
DioEgizio 2026-06-25 09:31:29 +00:00 committed by GitHub
commit 402379a841
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -342,7 +342,6 @@ QSet<Mod*> collectMods(const QSet<Mod*>& mods, QHash<QString, QSet<Mod*>> relati
auto affectedId = affected->mod_id(); auto affectedId = affected->mod_id();
if (findById(mods, affectedId) == nullptr && !seen.contains(affectedId)) { if (findById(mods, affectedId) == nullptr && !seen.contains(affectedId)) {
seen.insert(affectedId);
if (shouldBeEnabled != affected->enabled()) { if (shouldBeEnabled != affected->enabled()) {
affectedList << affected; affectedList << affected;
} }