Changeset View
Changeset View
Standalone View
Standalone View
gui/session/menu.js
Context not available. | |||||
if (!open) | if (!open) | ||||
openDiplomacy(); | openDiplomacy(); | ||||
} | } | ||||
function toggleReplace() | |||||
{ | |||||
let joinPlayerName = Engine.GetGUIObjectByName("joinPlayerName").caption; | |||||
let joinServer = Engine.GetGUIObjectByName("joinServer").caption; | |||||
let joinPort = Engine.GetGUIObjectByName("joinPort").caption; | |||||
if (startJoin(joinPlayerName, joinServer, getValidPort(joinPort))) | |||||
switchSetupPage("pageConnecting"); | |||||
} | |||||
function openTrade() | function openTrade() | ||||
{ | { | ||||
closeOpenDialogs(); | closeOpenDialogs(); | ||||
if (g_ViewedPlayer < 1) | if (g_ViewedPlayer < 1) | ||||
Context not available. |
Wildfire Games · Phabricator