]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/menu/menu.qc
Apply menu_maxplayers when the menu is initialized, not only when the map starts...
[voretournament/voretournament.git] / data / qcsrc / menu / menu.qc
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