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