Sync 'sv_globalBanlist' with global banned list toggle

This commit is contained in:
Kawe Mazidjatari 2023-01-28 13:05:02 +01:00
parent 8b227c90d8
commit 1b3223d5cb

View File

@ -460,6 +460,7 @@ void CBrowser::HostPanel(void)
ImGui::EndCombo();
}
m_bQueryGlobalBanList = sv_globalBanlist->GetBool(); // Sync toggle with 'sv_globalBanlist'.
if (ImGui::Checkbox("Load Global Ban List", &m_bQueryGlobalBanList))
{
sv_globalBanlist->SetValue(m_bQueryGlobalBanList);