]> de.git.xonotic.org Git - voretournament/voretournament.git/commitdiff
Apply menu_maxplayers when the menu is initialized, not only when the map starts...
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 17 Mar 2012 09:52:36 +0000 (11:52 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 17 Mar 2012 09:52:36 +0000 (11:52 +0200)
data/qcsrc/menu/menu.qc
docs/TODO.txt

index 19088b75fb35f8d074be7b7b20ed6001ff19b055..fb10fa3e68a92e12ed10134f2c7df6a7ad9d43a2 100644 (file)
@@ -20,6 +20,7 @@ void SUB_Null() { };
 \r
 void() m_init =\r
 {\r
+       localcmd("maxplayers $menu_maxplayers\n"); // make sure maxplayers is set if we start a game with the map command\r
        cvar_set("_menu_alpha", "0");\r
 \r
        check_unacceptable_compiler_bugs();\r
index 00b40759bf357c59ad5ee74f9b9ebe91c8fa303b..ecd9c7a1645b7bac3a9dbecb2beea29f000e76dc 100644 (file)
 \r
 - 0.8: Weapons menu: Center setting for the gun?\r
 \r
-- 0.7 | 0.8: Why does bot_number still get stuck at 7?\r
-\r
 - 0.7: Smaller default zoom for minimap\r
 \r
 - 0.7 | 0.8 BUG: Display digits still appear on the 3rd person weapon when a player dies and becomes gibbed\r