From 38e615bb545e03e0cfa501cdf7af8cc113efe343 Mon Sep 17 00:00:00 2001 From: Federico Cecchetto Date: Wed, 25 May 2022 00:47:39 +0200 Subject: [PATCH] Don't show non-h1 servers --- src/client/component/server_list.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/client/component/server_list.cpp b/src/client/component/server_list.cpp index 75d5b0f1..81ebbd92 100644 --- a/src/client/component/server_list.cpp +++ b/src/client/component/server_list.cpp @@ -320,6 +320,11 @@ namespace server_list return; } + if (info.get("gamename") != "H1") + { + return; + } + int start_time{}; const auto now = game::Sys_Milliseconds();