diff --git a/README.md b/README.md index 2deaa5f5..90542b2d 100644 --- a/README.md +++ b/README.md @@ -15,8 +15,9 @@ ## Change Notes ## General -* Removed round cap +* Removed 5 second wait before match start * Removed fog +* Removed round cap * Disabled depth of field * Increased level of detail at longer distances * Announcer audio always plays diff --git a/ui_mp/t6/menus/privategamelobby_project.lua b/ui_mp/t6/menus/privategamelobby_project.lua index 08edfa77..75815efa 100644 --- a/ui_mp/t6/menus/privategamelobby_project.lua +++ b/ui_mp/t6/menus/privategamelobby_project.lua @@ -290,6 +290,7 @@ CoD.PrivateGameLobby.PopulateButtons_Project_Zombie = function(PrivateGameLobbyB -- end AddGameOptionsButtons(PrivateGameLobbyButtonPane, CoD.PrivateGameLobby.GameTypeSettings, "gts") AddGameOptionsButtons(PrivateGameLobbyButtonPane, CoD.PrivateGameLobby.Dvars, "dvar") + PrivateGameLobbyButtonPane:registerEventHandler("start_game", CoD.PrivateGameLobby.ButtonStartGame) PrivateGameLobbyButtonPane:registerEventHandler("enable_sliding_zm", CoD.PrivateGameLobby.EnableSlidingZombie) PrivateGameLobbyButtonPane.defaultFocusButton = PrivateGameLobbyButtonPane.body.startMatchButton PrivateGameLobbyButtonPane.body.buttonList.hintText:setAlpha(1) @@ -330,6 +331,10 @@ CoD.PrivateGameLobby.PopulateButtons_Project_Zombie = function(PrivateGameLobbyB end end +CoD.PrivateGameLobby.ButtonStartGame = function(PrivateGameLobbyButtonPane, ClientInstance) + Engine.Exec(ClientInstance.controller, "xpartygo") +end + CoD.PrivateGameLobby.ButtonGameLobbyUpdate_Zombie = function(GametypeSettingButton, f14_arg1) GametypeSettingButton:refreshChoice() GametypeSettingButton:dispatchEventToChildren(f14_arg1)