Refresh the diplomacy and trade window in case the playerselection (change perspective) has changed.

This was SVN commit r17572.
This commit is contained in:
elexis 2015-12-30 12:10:11 +00:00
parent aa8e0159a0
commit 082a32802b

View file

@ -238,6 +238,12 @@ function selectViewPlayer(playerID)
{
Engine.SetPlayerID(playerID);
updateTopPanel();
if (g_IsDiplomacyOpen)
openDiplomacy();
if (g_IsTradeOpen)
openTrade()
}
function updateTopPanel()