From 7b2a8dde3a67467006d9dad2635b1fa66604b5a7 Mon Sep 17 00:00:00 2001 From: m Date: Fri, 20 May 2022 10:58:42 -0500 Subject: [PATCH] add depot button --- data/ui_scripts/server_list/lobby.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/data/ui_scripts/server_list/lobby.lua b/data/ui_scripts/server_list/lobby.lua index 9d31f6cf..93e01a90 100644 --- a/data/ui_scripts/server_list/lobby.lua +++ b/data/ui_scripts/server_list/lobby.lua @@ -27,13 +27,13 @@ function menu_xboxlive(f16_arg0, f16_arg1) menu:AddCACButton() menu:AddBarracksButton() menu:AddPersonalizationButton() - -- menu:AddDepotButton() + menu:AddDepotButton() end - serverListButton = menu:AddButton("@MENU_PRIVATE_MATCH", MPLobbyOnline.OnPrivateMatch, + local privateMatchButton = menu:AddButton("@MENU_PRIVATE_MATCH", MPLobbyOnline.OnPrivateMatch, MPLobbyOnline.disablePrivateMatchButton) - serverListButton:rename("menu_xboxlive_private_match") - serverListButton:setDisabledRefreshRate(500) + privateMatchButton:rename("menu_xboxlive_private_match") + privateMatchButton:setDisabledRefreshRate(500) if not Engine.IsCoreMode() then local leaderboardButton = menu:AddButton("@LUA_MENU_LEADERBOARD", "OpLeaderboardMain") leaderboardButton:rename("OperatorMenu_leaderboard")