Index: binaries/data/config/default.cfg =================================================================== --- binaries/data/config/default.cfg +++ binaries/data/config/default.cfg @@ -173,6 +173,7 @@ chat = Return ; Toggle chat window teamchat = "T" ; Toggle chat window in team chat mode privatechat = "L" ; Toggle chat window and select the previous private chat partner +lobby = "Alt+L" ; Toggle in-game lobby ; > QUICKSAVE quicksave = "Shift+F5" Index: binaries/data/mods/public/gui/gamesetup/gamesetup.js =================================================================== --- binaries/data/mods/public/gui/gamesetup/gamesetup.js +++ binaries/data/mods/public/gui/gamesetup/gamesetup.js @@ -871,6 +871,11 @@ translate("Return to the lobby.") : translate("Return to the main menu."), }, + "lobbyButton": { + "tooltip": () => + translate("Show lobby in a dialog."), + "hidden": () => !g_IsNetworked, + }, "startGame": { "caption": () => g_IsController ? translate("Start Game!") : g_ReadyData[g_IsReady].caption, @@ -2394,3 +2399,8 @@ g_Autocomplete = Object.keys(autocomplete).sort().reverse().reduce((all, priority) => all.concat(autocomplete[priority]), []); } + +function openLobby() +{ + Engine.PushGuiPage("page_prelobby.xml", {"pushGui": "page_lobbydialog.xml", "pushGuiAttribs": { "dialog": true } }); +} Index: binaries/data/mods/public/gui/gamesetup/gamesetup.xml =================================================================== --- binaries/data/mods/public/gui/gamesetup/gamesetup.xml +++ binaries/data/mods/public/gui/gamesetup/gamesetup.xml @@ -14,6 +14,10 @@