+
+ // needs to be done so early because of the constants they create
+ CALL_ACCUMULATED_FUNCTION(RegisterWeapons);
+ CALL_ACCUMULATED_FUNCTION(RegisterGametypes);
+
+ float ddsload = cvar("r_texture_dds_load");
+ float texcomp = cvar("gl_texturecompression");
+ updateCompression();
+ if(ddsload != cvar("r_texture_dds_load") || texcomp != cvar("gl_texturecompression"))
+ localcmd("\nr_restart\n");
+ initConwidths();
+
+ if(!restarting)
+ {
+ if(cvar("_menu_initialized")) // always show menu after menu_restart
+ m_display();
+ else
+ m_hide();
+ cvar_set("_menu_initialized", "1");
+ }