Merge pull request #7663 from eghwand/pr_sameclancolor_setting

Add ui setting cl_same_clan_color
This commit is contained in:
Dennis Felsing 2023-12-16 10:26:03 +00:00 committed by GitHub
commit 66262971f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2980,7 +2980,9 @@ void CMenus::RenderSettingsAppearance(CUIRect MainView)
Section.HSplitTop(LineSize, &Button, &Section); Section.HSplitTop(LineSize, &Button, &Section);
ColorRGBA GreenDefault(0.78f, 1.0f, 0.8f, 1.0f); ColorRGBA GreenDefault(0.78f, 1.0f, 0.8f, 1.0f);
static CButtonContainer s_AuthedColor; static CButtonContainer s_AuthedColor;
static CButtonContainer s_SameClanColor;
DoLine_ColorPicker(&s_AuthedColor, 25.0f, 13.0f, 5.0f, &Button, Localize("Authed name color in scoreboard"), &g_Config.m_ClAuthedPlayerColor, GreenDefault, false); DoLine_ColorPicker(&s_AuthedColor, 25.0f, 13.0f, 5.0f, &Button, Localize("Authed name color in scoreboard"), &g_Config.m_ClAuthedPlayerColor, GreenDefault, false);
DoLine_ColorPicker(&s_SameClanColor, 25.0f, 13.0f, 5.0f, &Button, Localize("Same clan color in scoreboard"), &g_Config.m_ClSameClanColor, GreenDefault, false);
} }
else if(s_CurTab == APPEARANCE_TAB_HOOK_COLLISION) else if(s_CurTab == APPEARANCE_TAB_HOOK_COLLISION)
{ {