cod account region fix

Co-authored-by: VladWinner <yobabay23@gmail.com>
This commit is contained in:
m 2022-07-04 20:40:24 -05:00 committed by GitHub
parent 6ee92ee84f
commit 91de938d6e

View File

@ -5,7 +5,7 @@ Engine.SetDvarInt("ui_enable_cp", 0)
Engine.SetDvarInt("ui_show_store", 0)
-- Remove CoD account button
if Engine.IsMultiplayer() then
if Engine.IsMultiplayer() and CoD.IsCoDAccountRegistrationAvailableInMyRegion() then
LUI.removemenubutton("pc_controls", 4)
end