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