]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cvar.c
Oops, fix whitespace again. Aw man.
[xonotic/darkplaces.git] / cvar.c
diff --git a/cvar.c b/cvar.c
index 06afc0d2295141b01d4b1b78407d3723550eb491..e92e0dfa3ac7b9b3e31ff5f27cbc72cdbcc7b6c8 100644 (file)
--- 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);