CBroswer: fix 'Stop Server' button not appearing when server script error occurs while client is attempting to connect

This commit is contained in:
Kawe Mazidjatari 2022-09-05 22:32:47 +02:00
parent 28ddf2a380
commit 2887e79bcb

View File

@ -506,7 +506,7 @@ void CBrowser::HostPanel(void)
ImGui::InputText("##ServerHost_HostToken", &m_svHostToken, ImGuiInputTextFlags_ReadOnly);
}
if (g_pServer->IsActive())
if (g_pHostState->m_bActiveGame)
{
if (ImGui::Button("Weapon Reparse", ImVec2(ImGui::GetWindowContentRegionWidth(), 32)))
{