Close connection popup on server disconnect

This commit is contained in:
Patrick Nicolas
2024-04-16 11:23:41 +02:00
parent 646c01d8b8
commit 194709e3e0
+5
View File
@@ -88,6 +88,11 @@ void scenes::lobby::gui_connecting()
status = async_session.get_progress();
else if (async_error)
status = *async_error;
else
{
ImGui::CloseCurrentPopup();
return;
}
std::string button_label;