From 1b3223d5cbc5126d9bd17fb3d205a3c5f32ea4fe Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Sat, 28 Jan 2023 13:05:02 +0100 Subject: [PATCH] Sync 'sv_globalBanlist' with global banned list toggle --- r5dev/gameui/IBrowser.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/r5dev/gameui/IBrowser.cpp b/r5dev/gameui/IBrowser.cpp index 023862c3..052ed2ce 100644 --- a/r5dev/gameui/IBrowser.cpp +++ b/r5dev/gameui/IBrowser.cpp @@ -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);