Menu: Filter servers by gamedir. Clients shouldn't attempt to connect to mods that way.
This commit is contained in:
parent
b1742afb97
commit
7902ae22d5
1 changed files with 2 additions and 2 deletions
|
@ -58,7 +58,7 @@ Master_RefreshCache(void)
|
|||
{
|
||||
print("Refreshing host cache...\n");
|
||||
resethostcachemasks();
|
||||
//sethostcachemaskstring(0, gethostcacheindexforkey("gamedir"), cvar_string("game"), SLIST_TEST_EQUAL);
|
||||
sethostcachemaskstring(0, gethostcacheindexforkey("gamedir"), cvar_string("game"), SLIST_TEST_EQUAL);
|
||||
sethostcachesort(gethostcacheindexforkey("ping"), FALSE);
|
||||
refreshhostcache(FALSE);
|
||||
resorthostcache();
|
||||
|
@ -74,7 +74,7 @@ Master_UpdateCache(void)
|
|||
{
|
||||
print("Updating host cache...\n");
|
||||
resethostcachemasks();
|
||||
//sethostcachemaskstring(0, gethostcacheindexforkey("gamedir"), cvar_string("game"), SLIST_TEST_EQUAL);
|
||||
sethostcachemaskstring(0, gethostcacheindexforkey("gamedir"), cvar_string("game"), SLIST_TEST_EQUAL);
|
||||
sethostcachesort(gethostcacheindexforkey("ping"), FALSE);
|
||||
refreshhostcache(TRUE);
|
||||
resorthostcache();
|
||||
|
|
Loading…
Reference in a new issue