Don't try to autoconnect to incompatible servers, show when a server is incompatible or unavailable

This commit is contained in:
Guillaume Meunier
2024-02-18 09:03:46 +01:00
parent 51ab6cfa79
commit 1e1d51cc04
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -537,7 +537,7 @@ void scenes::lobby::render(XrTime predicted_display_time, bool should_render)
{
for(auto&& [cookie, data]: servers)
{
if (data.visible && (data.autoconnect || force_autoconnect))
if (data.visible && (data.autoconnect || force_autoconnect) && data.compatible)
{
connect(data);
}