Remove searching for player text in lobby
- No longer sets LobbyMaxClients to 1 as that disallowed splitscreen
This commit is contained in:
parent
7966d81ab9
commit
564cf28df4
@ -2,8 +2,23 @@ if Engine.GetCurrentMap() ~= "core_frontend" then
|
||||
return
|
||||
end
|
||||
|
||||
Engine.GetLobbyMaxClients = function()
|
||||
return 1
|
||||
if not CoD.LobbyMember then
|
||||
return
|
||||
end
|
||||
|
||||
local oldLobbyMember = CoD.LobbyMember.new
|
||||
function CoD.LobbyMember.new(menu, controller)
|
||||
local self = oldLobbyMember(menu, controller)
|
||||
|
||||
-- Hide the playlist count text
|
||||
if self.SearchingForPlayer then
|
||||
self.SearchingForPlayer:setAlpha(0)
|
||||
end
|
||||
if self.FEMemberBlurPanelContainer0 then
|
||||
self.FEMemberBlurPanelContainer0:setAlpha(0)
|
||||
end
|
||||
|
||||
return self
|
||||
end
|
||||
|
||||
function IsLobbyStatusVisible()
|
||||
|
Loading…
Reference in New Issue
Block a user