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

It is now possible to vote for simturns and turn timer changes

This commit is contained in:
Ivan Savenko
2024-05-19 17:12:29 +00:00
parent d5f32c27b0
commit 10b50cd905
8 changed files with 306 additions and 49 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");