diff --git a/client/scenes/lobby_gui.cpp b/client/scenes/lobby_gui.cpp index e0ab71a4..d4f00fc9 100644 --- a/client/scenes/lobby_gui.cpp +++ b/client/scenes/lobby_gui.cpp @@ -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;