From: Rudolf Polzer Date: Sat, 13 Nov 2010 18:56:30 +0000 (+0100) Subject: make maxplayers properly saved X-Git-Tag: xonotic-v0.1.0preview~150 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7d1fe5bb81bf4bb466aab2cfd62f1373b78e3020;p=xonotic%2Fxonotic-data.pk3dir.git make maxplayers properly saved --- diff --git a/defaultXonotic.cfg b/defaultXonotic.cfg index bb59b0cdb..fc80a1b51 100644 --- a/defaultXonotic.cfg +++ b/defaultXonotic.cfg @@ -1440,7 +1440,6 @@ set menu_slist_modfilter "=" // set to either: !modname or modname. modname of = set menu_weaponarena_with_laser 0 "also enable the Laser in this weapon arena" seta menu_maxplayers 16 "maxplayers value when the menu starts a game" -maxplayers 16 // command executed before loading a map by the menu // makes sure maxplayers is at least minplayers or bot_number + 1 diff --git a/quake.rc b/quake.rc index 1ae46d1d4..994a1c566 100644 --- a/quake.rc +++ b/quake.rc @@ -1,5 +1,6 @@ exec default.cfg exec config.cfg +maxplayers $menu_maxplayers exec data/campaign.cfg exec config_update.cfg exec autoexec.cfg