add depot button

This commit is contained in:
m 2022-05-20 10:58:42 -05:00
parent d6af1b52b2
commit c3e61b5e6d

View File

@ -27,13 +27,13 @@ function menu_xboxlive(f16_arg0, f16_arg1)
menu:AddCACButton() menu:AddCACButton()
menu:AddBarracksButton() menu:AddBarracksButton()
menu:AddPersonalizationButton() menu:AddPersonalizationButton()
-- menu:AddDepotButton() menu:AddDepotButton()
end end
serverListButton = menu:AddButton("@MENU_PRIVATE_MATCH", MPLobbyOnline.OnPrivateMatch, local privateMatchButton = menu:AddButton("@MENU_PRIVATE_MATCH", MPLobbyOnline.OnPrivateMatch,
MPLobbyOnline.disablePrivateMatchButton) MPLobbyOnline.disablePrivateMatchButton)
serverListButton:rename("menu_xboxlive_private_match") privateMatchButton:rename("menu_xboxlive_private_match")
serverListButton:setDisabledRefreshRate(500) privateMatchButton:setDisabledRefreshRate(500)
if not Engine.IsCoreMode() then if not Engine.IsCoreMode() then
local leaderboardButton = menu:AddButton("@LUA_MENU_LEADERBOARD", "OpLeaderboardMain") local leaderboardButton = menu:AddButton("@LUA_MENU_LEADERBOARD", "OpLeaderboardMain")
leaderboardButton:rename("OperatorMenu_leaderboard") leaderboardButton:rename("OperatorMenu_leaderboard")