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

Merge pull request #4018 from IvanSavenko/voting

[1.5.2?] Multiplayer voting
This commit is contained in:
Ivan Savenko
2024-05-29 18:13:42 +03:00
committed by GitHub
9 changed files with 319 additions and 54 deletions

View File

@@ -992,6 +992,8 @@ void CVCMIServer::multiplayerWelcomeMessage()
if(humanPlayer < 2) // Singleplayer
return;
gh->playerMessages->broadcastSystemMessage("Use '!help' to list available commands");
std::vector<std::string> optionIds;
if(si->extraOptionsInfo.cheatsAllowed)
optionIds.push_back("vcmi.optionsTab.cheatAllowed.hover");