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.
This commit is contained in:
Aerll 2019-12-05 15:51:40 +01:00 committed by GitHub
parent c31f6303cf
commit f8466fde7d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;