From 58f14edb95bb80db0439177646b4773abfc9551d Mon Sep 17 00:00:00 2001 From: furo Date: Mon, 2 Sep 2024 16:45:04 +0200 Subject: [PATCH] Add console chain for browser filters --- src/engine/client/client.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/engine/client/client.cpp b/src/engine/client/client.cpp index 06b399eae..d145482a7 100644 --- a/src/engine/client/client.cpp +++ b/src/engine/client/client.cpp @@ -4374,8 +4374,20 @@ void CClient::RegisterCommands() // used for server browser update m_pConsole->Chain("br_filter_string", ConchainServerBrowserUpdate, this); + m_pConsole->Chain("br_exclude_string", ConchainServerBrowserUpdate, this); + m_pConsole->Chain("br_filter_full", ConchainServerBrowserUpdate, this); + m_pConsole->Chain("br_filter_empty", ConchainServerBrowserUpdate, this); + m_pConsole->Chain("br_filter_spectators", ConchainServerBrowserUpdate, this); + m_pConsole->Chain("br_filter_friends", ConchainServerBrowserUpdate, this); + m_pConsole->Chain("br_filter_country", ConchainServerBrowserUpdate, this); + m_pConsole->Chain("br_filter_country_index", ConchainServerBrowserUpdate, this); + m_pConsole->Chain("br_filter_pw", ConchainServerBrowserUpdate, this); m_pConsole->Chain("br_filter_gametype", ConchainServerBrowserUpdate, this); + m_pConsole->Chain("br_filter_gametype_strict", ConchainServerBrowserUpdate, this); + m_pConsole->Chain("br_filter_connecting_players", ConchainServerBrowserUpdate, this); m_pConsole->Chain("br_filter_serveraddress", ConchainServerBrowserUpdate, this); + m_pConsole->Chain("br_filter_unfinished_map", ConchainServerBrowserUpdate, this); + m_pConsole->Chain("br_filter_login", ConchainServerBrowserUpdate, this); m_pConsole->Chain("add_favorite", ConchainServerBrowserUpdate, this); m_pConsole->Chain("remove_favorite", ConchainServerBrowserUpdate, this); m_pConsole->Chain("end_favorite_group", ConchainServerBrowserUpdate, this);