1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Clients will now switch to turn options when host does so

This commit is contained in:
Ivan Savenko
2023-12-20 23:52:39 +02:00
parent 4986b9031d
commit fe5918ebf5
3 changed files with 7 additions and 1 deletions

View File

@@ -120,6 +120,8 @@ void CLobbyScreen::toggleTab(std::shared_ptr<CIntObject> tab)
CSH->sendGuiAction(LobbyGuiAction::OPEN_SCENARIO_LIST);
else if(tab == tabRand)
CSH->sendGuiAction(LobbyGuiAction::OPEN_RANDOM_MAP_OPTIONS);
else if(tab == tabTurnOptions)
CSH->sendGuiAction(LobbyGuiAction::OPEN_TURN_OPTIONS);
CSelectionBase::toggleTab(tab);
}