1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Implemented join room dialog

This commit is contained in:
Ivan Savenko
2024-04-16 16:30:22 +03:00
parent e5f8cefa7f
commit 1840666327
17 changed files with 372 additions and 96 deletions

View File

@@ -109,9 +109,9 @@ void LobbyInfo::verifyStateBeforeStart(bool ignoreNoHuman) const
throw std::domain_error(VLC->generaltexth->translate("core.genrltxt.529"));
auto missingMods = CMapService::verifyMapHeaderMods(*mi->mapHeader);
ModIncompatibility::ModListWithVersion modList;
ModIncompatibility::ModList modList;
for(const auto & m : missingMods)
modList.push_back({m.second.name, m.second.version.toString()});
modList.push_back(m.second.name);
if(!modList.empty())
throw ModIncompatibility(modList);