mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Added list of active accounts and rooms to UI. Added room creation logic
This commit is contained in:
@@ -111,7 +111,7 @@ void LobbyInfo::verifyStateBeforeStart(bool ignoreNoHuman) const
|
||||
if(i == si->playerInfos.cend() && !ignoreNoHuman)
|
||||
throw std::domain_error(VLC->generaltexth->translate("core.genrltxt.530"));
|
||||
|
||||
if(si->mapGenOptions && si->mode == StartInfo::NEW_GAME)
|
||||
if(si->mapGenOptions && si->mode == EStartMode::NEW_GAME)
|
||||
{
|
||||
if(!si->mapGenOptions->checkOptions())
|
||||
throw std::domain_error(VLC->generaltexth->translate("core.genrltxt.751"));
|
||||
|
||||
Reference in New Issue
Block a user