Add 'Reload Banlist' button

This commit is contained in:
Kawe Mazidjatari 2022-09-01 01:20:27 +02:00
parent dea5f166db
commit 13c91c72fa

View File

@ -546,6 +546,14 @@ void CBrowser::HostPanel(void)
KeyValues::InitPlaylists(); // Re-Init playlist.
}, 0);
}
if (ImGui::Button("Reload Banlist", ImVec2(ImGui::GetWindowContentRegionWidth(), 32)))
{
g_TaskScheduler->Dispatch([]()
{
g_pBanSystem->Load();
}, 0);
}
}
#endif // !CLIENT_DLL
}