Browse Source

Always show dialog when player starts turn in multiplayer

Ivan Savenko 1 year ago
parent
commit
b54eede01c
1 changed files with 6 additions and 1 deletions
  1. 6 1
      client/CPlayerInterface.cpp

+ 6 - 1
client/CPlayerInterface.cpp

@@ -289,7 +289,12 @@ void CPlayerInterface::yourTurn(QueryID queryID)
 			performAutosave();
 		}
 
-		if (CSH->howManyPlayerInterfaces() > 1) //hot seat message
+		int humanPlayersCount = 0;
+		for(const auto & info : cb->getStartInfo()->playerInfos)
+			if (info.second.isControlledByHuman())
+				humanPlayersCount++;
+
+		if (humanPlayersCount > 1) //hot seat or MP message
 		{
 			adventureInt->onHotseatWaitStarted(playerID);