Differential D3500 Diff 17457 ps/trunk/binaries/data/mods/public/gui/lobby/LobbyPage/Buttons/JoinButton.js
Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/binaries/data/mods/public/gui/lobby/LobbyPage/Buttons/JoinButton.js
Show First 20 Lines • Show All 67 Lines • ▼ Show 20 Lines | if (!game) | ||||
return; | return; | ||||
let stanza = game.stanza; | let stanza = game.stanza; | ||||
Engine.PushGuiPage("page_gamesetup_mp.xml", { | Engine.PushGuiPage("page_gamesetup_mp.xml", { | ||||
"multiplayerGameType": "join", | "multiplayerGameType": "join", | ||||
"name": g_Nickname, | "name": g_Nickname, | ||||
"rating": this.getRejoinRating(stanza), | "rating": this.getRejoinRating(stanza), | ||||
"hasPassword": !!stanza.hasPassword, | "hasPassword": !!stanza.hasPassword, | ||||
"hostJID": stanza.hostUsername + "@" + Engine.ConfigDB_GetValue("user", "lobby.server") + "/0ad" | "hostJID": stanza.hostJID | ||||
}); | }); | ||||
} | } | ||||
openModSelectionPage() | openModSelectionPage() | ||||
{ | { | ||||
Engine.StopXmppClient(); | Engine.StopXmppClient(); | ||||
Engine.SwitchGuiPage("page_modmod.xml", { | Engine.SwitchGuiPage("page_modmod.xml", { | ||||
"cancelbutton": true | "cancelbutton": true | ||||
Show All 20 Lines |
Wildfire Games · Phabricator