mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-07-04 05:55:47 -07:00
Refresh the diplomacy and trade window in case the playerselection (change perspective) has changed.
This was SVN commit r17572.
This commit is contained in:
parent
aa8e0159a0
commit
082a32802b
1 changed files with 6 additions and 0 deletions
|
|
@ -238,6 +238,12 @@ function selectViewPlayer(playerID)
|
|||
{
|
||||
Engine.SetPlayerID(playerID);
|
||||
updateTopPanel();
|
||||
|
||||
if (g_IsDiplomacyOpen)
|
||||
openDiplomacy();
|
||||
|
||||
if (g_IsTradeOpen)
|
||||
openTrade()
|
||||
}
|
||||
|
||||
function updateTopPanel()
|
||||
|
|
|
|||
Loading…
Reference in a new issue