1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-07 21:59:49 -05:00
BO2-Reimagined/ui/t6/menus/privateonlinegamelobby.lua
2024-06-06 02:47:59 -07:00

27 lines
749 B
Lua

require("T6.Menus.PrivateGameLobby")
CoD.PrivateOnlineGameLobby = {}
LUI.createMenu.PrivateOnlineGameLobby = function(f1_arg0)
local f1_local0 = CoD.PrivateGameLobby.New("PrivateOnlineGameLobby", f1_arg0)
if CoD.isMultiplayer then
f1_local0:setPreviousMenu("MainLobby")
end
local f1_local1 = Engine.Localize("MPUI_CUSTOM_GAMES_CAPS")
f1_local0:addTitle(f1_local1)
f1_local0.panelManager.panels.buttonPane.titleText = f1_local1
if CoD.PrivateGameLobby.FadeIn == true then
CoD.PrivateGameLobby.FadeIn = nil
f1_local0:registerAnimationState("hide", {
alpha = 0,
})
f1_local0:animateToState("hide")
f1_local0:registerAnimationState("show", {
alpha = 1,
})
f1_local0:animateToState("show", 500)
end
return f1_local0
end