mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Add 'Reload Banlist' button
This commit is contained in:
parent
dea5f166db
commit
13c91c72fa
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user