1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-07 21:59:49 -05:00

Set party_solo dvar to 0 when leaving private match lobby

This commit is contained in:
Jbleezy 2024-06-26 02:51:46 -07:00
parent a3eb4df263
commit a762b10bd8

View File

@ -445,6 +445,7 @@ CoD.PrivateGameLobby.LeaveLobby_Project_Zombie_After_Animation = function(Privat
end end
CoD.PrivateGameLobby.LeaveLobby_Project_Zombie = function(PrivateGameLobbyWidget, ClientInstance) CoD.PrivateGameLobby.LeaveLobby_Project_Zombie = function(PrivateGameLobbyWidget, ClientInstance)
Engine.SetDvar("party_solo", 0)
PrivateGameLobbyWidget.leaveType = ClientInstance.name PrivateGameLobbyWidget.leaveType = ClientInstance.name
CoD.GameGlobeZombie.gameGlobe.currentMenu = PrivateGameLobbyWidget CoD.GameGlobeZombie.gameGlobe.currentMenu = PrivateGameLobbyWidget
if PrivateGameLobbyWidget.menuName == "TheaterLobby" then if PrivateGameLobbyWidget.menuName == "TheaterLobby" then