Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/binaries/data/mods/public/gui/session/messages.js
Show First 20 Lines • Show All 509 Lines • ▼ Show 20 Lines | |||||
} | } | ||||
/** | /** | ||||
* Updates playerdata cache and refresh diplomacy panel. | * Updates playerdata cache and refresh diplomacy panel. | ||||
*/ | */ | ||||
function updateDiplomacy() | function updateDiplomacy() | ||||
{ | { | ||||
updatePlayerData(); | updatePlayerData(); | ||||
if (g_IsDiplomacyOpen) | |||||
openDiplomacy(); | |||||
} | } | ||||
/** | /** | ||||
* Displays all active counters (messages showing the remaining time) for wonder-victory, ceasefire etc. | * Displays all active counters (messages showing the remaining time) for wonder-victory, ceasefire etc. | ||||
*/ | */ | ||||
function updateTimeNotifications() | function updateTimeNotifications() | ||||
{ | { | ||||
let notifications = Engine.GuiInterfaceCall("GetTimeNotifications", g_ViewedPlayer); | let notifications = Engine.GuiInterfaceCall("GetTimeNotifications", g_ViewedPlayer); | ||||
▲ Show 20 Lines • Show All 599 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator