From: Dr. Jaska Date: Tue, 6 Aug 2024 13:05:57 +0000 (+0000) Subject: Made servers modified via cvar changes appear in normal servers X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1733cd38ef920aaac693e06d6aafda764a843c61;p=xonotic%2Fxonotic-data.pk3dir.git Made servers modified via cvar changes appear in normal servers --- diff --git a/qcsrc/menu/xonotic/serverlist.qc b/qcsrc/menu/xonotic/serverlist.qc index 47cc36791..03bcd438b 100644 --- a/qcsrc/menu/xonotic/serverlist.qc +++ b/qcsrc/menu/xonotic/serverlist.qc @@ -211,7 +211,8 @@ int CategoryForEntry(int entry) } // must be normal or impure server - return ((impure > autocvar_menu_slist_purethreshold) ? CAT_MODIFIED : CAT_NORMAL); + //return ((impure > autocvar_menu_slist_purethreshold) ? CAT_MODIFIED : CAT_NORMAL); + return CAT_NORMAL; // don't separate normal and modified server categories } METHOD(XonoticServerList, toggleFavorite, void(XonoticServerList this, string srv)) diff --git a/qcsrc/menu/xonotic/serverlist.qh b/qcsrc/menu/xonotic/serverlist.qh index 019e11abe..035a39506 100644 --- a/qcsrc/menu/xonotic/serverlist.qh +++ b/qcsrc/menu/xonotic/serverlist.qh @@ -108,7 +108,6 @@ SLIST_FIELDS float autocvar_menu_slist_categories; float autocvar_menu_slist_categories_onlyifmultiple; -float autocvar_menu_slist_purethreshold; float autocvar_menu_slist_modimpurity; float autocvar_menu_slist_maxping = 300; float autocvar_menu_slist_recommendations; diff --git a/xonotic-client.cfg b/xonotic-client.cfg index 3a8f27e28..4f36583a7 100644 --- a/xonotic-client.cfg +++ b/xonotic-client.cfg @@ -577,7 +577,6 @@ seta menu_slist_modfilter "" // set to either: !modname or modname. modname of = // other serverlist cvars seta menu_slist_categories 0 seta menu_slist_categories_onlyifmultiple 1 -seta menu_slist_purethreshold 0 seta menu_slist_maxping 300 seta menu_slist_modimpurity 0 seta menu_slist_recommendations 3