We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27f7c5e commit 2b989ffCopy full SHA for 2b989ff
libs/s25main/ingameWindows/iwDistribution.cpp
@@ -210,4 +210,6 @@ void iwDistribution::CreateGroups()
210
};
211
for(auto& group : groups)
212
helpers::erase_if(group.entries, isUnused);
213
+
214
+ helpers::erase_if(groups, [](DistributionGroup& group) { return group.entries.size() == 1; });
215
}
0 commit comments