]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - menu.c
hush some texture loading warnings in dedicated servers (thanks to Biomass for report...
[xonotic/darkplaces.git] / menu.c
diff --git a/menu.c b/menu.c
index 591381750453dc3b9a3305b03e094443affdd319..0506b8780716373a6da5b3c30b259ee2c06bfc33 100644 (file)
--- a/menu.c
+++ b/menu.c
@@ -4264,7 +4264,6 @@ void M_Init (void)
        Cmd_AddCommand ("menu_options_effects", M_Menu_Options_Effects_f);
        Cmd_AddCommand ("menu_options_graphics", M_Menu_Options_Graphics_f);
        Cmd_AddCommand ("menu_options_colorcontrol", M_Menu_Options_ColorControl_f);
-       Cvar_RegisterVariable (&menu_options_colorcontrol_correctionvalue);
        Cmd_AddCommand ("menu_keys", M_Menu_Keys_f);
        Cmd_AddCommand ("menu_video", M_Menu_Video_f);
        Cmd_AddCommand ("menu_reset", M_Menu_Reset_f);
@@ -4799,6 +4798,7 @@ void MR_Init_Commands(void)
 {
        // set router console commands
        Cvar_RegisterVariable (&forceqmenu);
+       Cvar_RegisterVariable (&menu_options_colorcontrol_correctionvalue);
        if (gamemode == GAME_NETHERWORLD)
                Cmd_AddCommand ("menu_fallback", MP_Error); //Force to old-style menu
        Cmd_AddCommand ("menu_restart",MR_Restart);