From: MirceaKitsune Date: Sat, 17 Mar 2012 09:52:36 +0000 (+0200) Subject: Apply menu_maxplayers when the menu is initialized, not only when the map starts... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4d3265322fc49bd2652aada86eaa695fdcffab40;p=voretournament%2Fvoretournament.git Apply menu_maxplayers when the menu is initialized, not only when the map starts. This makes sure it's set when we start a game with the map command for the first time (not the cleanest implementation, but oh well) --- diff --git a/data/qcsrc/menu/menu.qc b/data/qcsrc/menu/menu.qc index 19088b75..fb10fa3e 100644 --- a/data/qcsrc/menu/menu.qc +++ b/data/qcsrc/menu/menu.qc @@ -20,6 +20,7 @@ void SUB_Null() { }; void() m_init = { + localcmd("maxplayers $menu_maxplayers\n"); // make sure maxplayers is set if we start a game with the map command cvar_set("_menu_alpha", "0"); check_unacceptable_compiler_bugs(); diff --git a/docs/TODO.txt b/docs/TODO.txt index 00b40759..ecd9c7a1 100644 --- a/docs/TODO.txt +++ b/docs/TODO.txt @@ -146,8 +146,6 @@ - 0.8: Weapons menu: Center setting for the gun? -- 0.7 | 0.8: Why does bot_number still get stuck at 7? - - 0.7: Smaller default zoom for minimap - 0.7 | 0.8 BUG: Display digits still appear on the 3rd person weapon when a player dies and becomes gibbed