change: disable query hook by default.

this is done to prevent banning servers with yapb's on some sites like gametracker, where they are banning servers that reports fake information about players / palyer counts.
This commit is contained in:
ds 2020-08-22 23:54:25 +03:00
commit 73ef635f09
2 changed files with 3 additions and 3 deletions

View file

@ -16,7 +16,7 @@
#include <yapb.h>
ConVar cv_display_welcome_text ("yb_display_welcome_text", "1", "Enables or disables showing welcome message to host entity on game start.");
ConVar cv_enable_query_hook ("yb_enable_query_hook", "1", "Enables or disables fake server queries response, that shows bots as real players in server browser.");
ConVar cv_enable_query_hook ("yb_enable_query_hook", "0", "Enables or disables fake server queries response, that shows bots as real players in server browser.");
BotSupport::BotSupport () {
m_needToSendWelcome = false;