X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=cvar.c;h=e92e0dfa3ac7b9b3e31ff5f27cbc72cdbcc7b6c8;hb=f60caa1e1c25e2a462a9045f6dd2d1415d663012;hp=06afc0d2295141b01d4b1b78407d3723550eb491;hpb=8d7c6efa6bdbfecaa3dbcc39b68c4469d272dc6b;p=xonotic%2Fdarkplaces.git diff --git a/cvar.c b/cvar.c index 06afc0d2..e92e0dfa 100644 --- a/cvar.c +++ b/cvar.c @@ -397,8 +397,10 @@ static void Cvar_SetQuick_Internal (cvar_t *var, const char *value) if(var->integer <= 0) Cvar_Set("rcon_password", ""); } +#ifdef CONFIG_MENU else if (!strcmp(var->name, "net_slist_favorites")) NetConn_UpdateFavorites(); +#endif } Cvar_UpdateAutoCvar(var);