Add ui setting cl_same_clan_color

This commit is contained in:
Egehan 2023-12-16 11:06:29 +03:00 committed by GitHub
parent 5b5253c4ec
commit 5da5eb79bb
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);
ColorRGBA GreenDefault(0.78f, 1.0f, 0.8f, 1.0f);
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_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)
{