From f8466fde7d8f10a11507649bbcd2e8c1bc7dcc78 Mon Sep 17 00:00:00 2001 From: Aerll <31746984+Aerll@users.noreply.github.com> Date: Thu, 5 Dec 2019 15:51:40 +0100 Subject: [PATCH] Fix: background colors being set to white After changing either of background colors in ddnet tab in settings and reopening the client, both become white. --- src/game/client/components/menus_settings.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/client/components/menus_settings.cpp b/src/game/client/components/menus_settings.cpp index 734196294..c5561fbae 100644 --- a/src/game/client/components/menus_settings.cpp +++ b/src/game/client/components/menus_settings.cpp @@ -2227,8 +2227,8 @@ void CMenus::RenderSettingsDDNet(CUIRect MainView) UI()->DoLabelScaled(&Label, paLabels[s], 15.0f, -1); } } - g_Config.m_ClBackgroundColor = Bg.Pack(); - g_Config.m_ClBackgroundEntitiesColor = BgE.Pack(); + g_Config.m_ClBackgroundColor = Bg.Pack(false); + g_Config.m_ClBackgroundEntitiesColor = BgE.Pack(false); { static float s_Map = 0.0f;