82eea7abe0
* Re-enable disable_useless_things.lua * Minor localization changes (sync with H2) * Update language.lua & stats/init.lua * Fix for HUD ammo zeros * Language: Reorganizing items on menu * Stats: Fix localized headers
20 lines
479 B
Lua
20 lines
479 B
Lua
if Engine.InFrontend() then
|
|
-- Disable CP
|
|
Engine.SetDvarInt("ui_enable_cp", 0)
|
|
|
|
-- Disable CP store
|
|
Engine.SetDvarInt("ui_show_store", 0)
|
|
|
|
-- Remove CoD account button
|
|
if Engine.IsMultiplayer() and CoD.IsCoDAccountRegistrationAvailableInMyRegion() then
|
|
LUI.removemenubutton("pc_controls", 4)
|
|
end
|
|
end
|
|
|
|
-- Remove social button
|
|
LUI.MenuBuilder.m_definitions["online_friends_widget"] = function()
|
|
return {
|
|
type = "UIElement"
|
|
}
|
|
end
|