Don't try to autoconnect to incompatible servers, show when a server is incompatible or unavailable
This commit is contained in:
@@ -272,10 +272,12 @@ void scenes::lobby::gui_server_list()
|
||||
}
|
||||
vibrate_on_hover();
|
||||
|
||||
if (ImGui::IsItemHovered())
|
||||
if (ImGui::IsItemHovered(ImGuiHoveredFlags_AllowWhenDisabled))
|
||||
{
|
||||
if (!data.compatible)
|
||||
ImGui::SetTooltip("Incompatible server version");
|
||||
else if (!data.visible && !data.manual)
|
||||
ImGui::SetTooltip("Server not available");
|
||||
}
|
||||
|
||||
ImGui::PopStyleColor(3);
|
||||
|
||||
Reference in New Issue
Block a user