From 2e98bf26c9790d5c452cde71962e03b184ee20bf Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 23 Dec 2017 23:47:12 +1000 Subject: [PATCH] Fix selected maps in the menu not being saved --- defaultServer.cfg | 1 - defaultXonotic.cfg | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/defaultServer.cfg b/defaultServer.cfg index 99845f648..db91e3854 100644 --- a/defaultServer.cfg +++ b/defaultServer.cfg @@ -202,7 +202,6 @@ set g_casings 2 "specifies which casings (0: none, 1: only shotgun casings, 2: s set g_norecoil 0 "if set to 1 shooting weapons won't make you crosshair to move upwards (recoil)" set g_maplist_mostrecent "" "contains the name of the maps that were most recently played" set g_maplist_mostrecent_count 3 "number of most recent maps that are blocked from being played again" -set g_maplist "" "the list of maps to be cycled among (is autogenerated if empty)" set g_maplist_index 0 "this is used internally for saving position in maplist cycle" set g_maplist_selectrandom 0 "if 1, a random map will be chosen as next map - DEPRECATED in favor of g_maplist_shuffle" set g_maplist_shuffle 1 "new randomization method: like selectrandom, but avoid playing the same maps in short succession. This works by taking out the first element and inserting it into g_maplist with a bias to the end of the list" diff --git a/defaultXonotic.cfg b/defaultXonotic.cfg index eb6c72a56..bac826e80 100644 --- a/defaultXonotic.cfg +++ b/defaultXonotic.cfg @@ -52,6 +52,9 @@ set _campaign_index "" set _campaign_name "" set _campaign_testrun 0 "To verify the campaign file, set this to 1, then start the first campaign level from the menu. If you end up in the menu again, it's good, if you get a QC crash, it's bad." +// used by both server and menu to maintain the available list of maps +seta g_maplist "" "the list of maps to be cycled among (is autogenerated if empty)" + // we must change its default from 1.0 to 1 to be consistent with menuqc set slowmo 1 -- 2.39.2