From 4d3265322fc49bd2652aada86eaa695fdcffab40 Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Sat, 17 Mar 2012 11:52:36 +0200 Subject: [PATCH] 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) --- data/qcsrc/menu/menu.qc | 1 + docs/TODO.txt | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) 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 -- 2.39.2