OrionVeteran
Deity
One of my best mods (the Limited Religions Component) still has a problem, under the "Choose Religions" option, I would like to solve. The problem only happens in multiplayer games. For some crazy reason, the popup to select the religion comes up on the wrong player's turn to select a religion. The correct civ still gets the religion, but doesn't get to pick the religion. Again, this happens only in multiplayer. Single player works perfectly. The founding of a religion is controlled by the function onTechAcquired in the LimitedReligionsEvents.py file. I want to make sure the popup waits to appear at the beginning of the correct civs turn.
Example: You have 2 human players. Player A and B. Player A receives a popup to select a religion, even though Player A has not completed a tech. The popup comes up because player B has completed research for a religious tech, but Player B never gets the popup to select the religion. Player B still gets a religion, but the religion he gets had to be selected by Player A before Player B's turn actually started.
I want to have the popup, to select the religion for Player B, to wait until Player B's turn starts, not before. Any suggestions, on how this multiplayer python annoyance can be fixed, would be greatly appreciated.
You can get the very small mod comp here: http://forums.civfanatics.com/downloads.php?do=file&id=14831
Example: You have 2 human players. Player A and B. Player A receives a popup to select a religion, even though Player A has not completed a tech. The popup comes up because player B has completed research for a religious tech, but Player B never gets the popup to select the religion. Player B still gets a religion, but the religion he gets had to be selected by Player A before Player B's turn actually started.
I want to have the popup, to select the religion for Player B, to wait until Player B's turn starts, not before. Any suggestions, on how this multiplayer python annoyance can be fixed, would be greatly appreciated.
You can get the very small mod comp here: http://forums.civfanatics.com/downloads.php?do=file&id=14831