Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/lobby/lobby.js
Show All 23 Lines | |||||
var g_Nickname = Engine.LobbyGetNick(); | var g_Nickname = Engine.LobbyGetNick(); | ||||
/** | /** | ||||
* This class organizes all components of this GUI page. | * This class organizes all components of this GUI page. | ||||
*/ | */ | ||||
var g_LobbyHandler; | var g_LobbyHandler; | ||||
/** | /** | ||||
* Used to check if the customColorSetting has been enabled in the main menu -> lobby options. | |||||
*/ | |||||
var g_customColorSetting = Engine.ConfigDB_GetValue("user", "lobby.colors"); | |||||
/** | |||||
* Called after the XmppConnection succeeded and when returning from a game. | * Called after the XmppConnection succeeded and when returning from a game. | ||||
*/ | */ | ||||
function init(attribs) | function init(attribs) | ||||
{ | { | ||||
if (g_Settings) | if (g_Settings) | ||||
g_LobbyHandler = new LobbyHandler(attribs && attribs.dialog); | g_LobbyHandler = new LobbyHandler(attribs && attribs.dialog); | ||||
else | else | ||||
error("Could not load settings"); | error("Could not load settings"); | ||||
} | } | ||||
No newline at end of file |
Wildfire Games · Phabricator