diff --git a/lib/CModHandler.cpp b/lib/CModHandler.cpp index d3299c8ba..b530e870c 100644 --- a/lib/CModHandler.cpp +++ b/lib/CModHandler.cpp @@ -725,8 +725,11 @@ std::vector CModHandler::resolveDependencies(std::vector modsT auto res = true; for(const TModID & dependency : mod.dependencies) { - if(!(res = vstd::contains(modsToResolve, dependency))) + if(!vstd::contains(modsToResolve, dependency)) + { logMod->error("Mod '%s' will not work: it depends on mod '%s', which is not installed.", mod.name, dependency); + res = false; //continue iterations, since we should show all errors for the current mod. + } } return res; };