mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-24 14:10:30 -05:00
HUD: convert game mode name to LUI
This commit is contained in:
@ -657,6 +657,10 @@ CoD.OptionsSettings.CreateModTab = function(ModTab, LocalClientIndex)
|
||||
|
||||
ModTabButtonList:addSpacer(CoD.CoD9Button.Height / 2)
|
||||
|
||||
local GameModeNameSelector = ModTabButtonList:addDvarLeftRightSelector(LocalClientIndex, Engine.Localize("MENU_GAME_MODE_NAME_CAPS"), "ui_hud_game_mode_name")
|
||||
GameModeNameSelector:addChoice(LocalClientIndex, Engine.Localize("MENU_DISABLED_CAPS"), 0, nil, CoD.OptionsSettings.Button_ApplyDvarChanged)
|
||||
GameModeNameSelector:addChoice(LocalClientIndex, Engine.Localize("MENU_ENABLED_CAPS"), 1, nil, CoD.OptionsSettings.Button_ApplyDvarChanged)
|
||||
|
||||
local ContainmentSelector = ModTabButtonList:addDvarLeftRightSelector(LocalClientIndex, Engine.Localize("MENU_CONTAINMENT_ZONE_TIME_CAPS"), "ui_hud_containment")
|
||||
ContainmentSelector:addChoice(LocalClientIndex, Engine.Localize("MENU_DISABLED_CAPS"), 0, nil, CoD.OptionsSettings.Button_ApplyDvarChanged)
|
||||
ContainmentSelector:addChoice(LocalClientIndex, Engine.Localize("MENU_ENABLED_CAPS"), 1, nil, CoD.OptionsSettings.Button_ApplyDvarChanged)
|
||||
|
Reference in New Issue
Block a user