Don't break if not CoD.LobbyMember
This commit is contained in:
parent
564cf28df4
commit
bf30653fc2
@ -2,23 +2,21 @@ if Engine.GetCurrentMap() ~= "core_frontend" then
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
if not CoD.LobbyMember then
|
if CoD.LobbyMember then
|
||||||
return
|
local oldLobbyMember = CoD.LobbyMember.new
|
||||||
end
|
function CoD.LobbyMember.new(menu, controller)
|
||||||
|
local self = oldLobbyMember(menu, controller)
|
||||||
local oldLobbyMember = CoD.LobbyMember.new
|
|
||||||
function CoD.LobbyMember.new(menu, controller)
|
-- Hide the playlist count text
|
||||||
local self = oldLobbyMember(menu, controller)
|
if self.SearchingForPlayer then
|
||||||
|
self.SearchingForPlayer:setAlpha(0)
|
||||||
-- Hide the playlist count text
|
end
|
||||||
if self.SearchingForPlayer then
|
if self.FEMemberBlurPanelContainer0 then
|
||||||
self.SearchingForPlayer:setAlpha(0)
|
self.FEMemberBlurPanelContainer0:setAlpha(0)
|
||||||
|
end
|
||||||
|
|
||||||
|
return self
|
||||||
end
|
end
|
||||||
if self.FEMemberBlurPanelContainer0 then
|
|
||||||
self.FEMemberBlurPanelContainer0:setAlpha(0)
|
|
||||||
end
|
|
||||||
|
|
||||||
return self
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function IsLobbyStatusVisible()
|
function IsLobbyStatusVisible()
|
||||||
|
Loading…
Reference in New Issue
Block a user