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 7b45f49137
commit 822ac93d4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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