alias _gunalign_update "_gunalign_$v_flipped$menu_cl_gunalign"
set _menu_alpha "" // will be set by menu QC to the current fading of the menu, can be used by CSQC to fade items
+set _menu_initialized 0 "is 0 on first menu loading, 1 later"
set g_triggerimpulse_accel_power 1 "trigger_impulse accelerator power (applied BEFORE the multiplier)"
set g_triggerimpulse_accel_multiplier 1 "trigger_impulse accelerator multiplier (applied AFTER the power)"
localcmd("\nr_restart\n");
initConwidths();
- m_gamestatus();
- if(gamestatus & (GAME_ISSERVER | GAME_CONNECTED))
- m_hide();
- else
+ if(cvar("_menu_initialized")) // always show menu after menu_restart
m_display();
+ else
+ m_hide();
+ cvar_set("_menu_initialized", "1");
}
float MENU_ASPECT = 1.25; // 1280x1024