mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Fix 'Reload Scripts' button in Server Browser
This commit is contained in:
parent
36a9c2779b
commit
c431434680
@ -546,7 +546,7 @@ void IBrowser::HostServerSection(void)
|
|||||||
if (ImGui::Button("Reload Scripts##ServerHost_ReloadServerButton", ImVec2(ImGui::GetWindowSize().x, 32)))
|
if (ImGui::Button("Reload Scripts##ServerHost_ReloadServerButton", ImVec2(ImGui::GetWindowSize().x, 32)))
|
||||||
{
|
{
|
||||||
DevMsg(eDLL_T::ENGINE, "Recompiling scripts\n");
|
DevMsg(eDLL_T::ENGINE, "Recompiling scripts\n");
|
||||||
ProcessCommand("reparse_weapons");
|
ProcessCommand("weapon_reparse");
|
||||||
ProcessCommand("reload");
|
ProcessCommand("reload");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user