Browse Source

Wait for inactive player in hotseat to answer dialog before starting
battle

Ivan Savenko 1 year ago
parent
commit
3e1968c201
1 changed files with 1 additions and 0 deletions
  1. 1 0
      client/CPlayerInterface.cpp

+ 1 - 0
client/CPlayerInterface.cpp

@@ -1489,6 +1489,7 @@ void CPlayerInterface::playerBlocked(int reason, bool start)
 			cmp.push_back(std::make_shared<CComponent>(ComponentType::FLAG, playerID));
 			makingTurn = true; //workaround for stiff showInfoDialog implementation
 			showInfoDialog(msg, cmp);
+			waitWhileDialog();
 			makingTurn = false;
 		}
 	}