]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Added tmayhem regeneration cvar which I previously forgot to include
authordrjaska <drjaska83@gmail.com>
Mon, 8 Mar 2021 19:11:16 +0000 (21:11 +0200)
committerdrjaska <drjaska83@gmail.com>
Mon, 8 Mar 2021 19:11:16 +0000 (21:11 +0200)
outside of sv_tmayhem.qc, whitelisted powerup, team and weaponarena
cvars as other modes have theirs whitelisted.

gamemodes-server.cfg
qcsrc/server/world.qc

index 7acb349752af2d4e68140cf73d2a7d2213febdb0..b2a99f49aad3a746f0070ffa6ee4dcf4bd676e5d 100644 (file)
@@ -591,3 +591,4 @@ set g_tmayhem_point_limit -1 "Team Mayhem point limit overriding the mapinfo spe
 set g_tmayhem_point_leadlimit -1 "Team Mayhem point lead limit overriding the mapinfo specified one (use 0 to play without limit, and -1 to use the mapinfo's limit)"
 set g_tmayhem_weaponarena "most_available" "starting weapons - takes the same options as g_weaponarena"
 set g_tmayhem_powerups 1 "Allow powerups in team mayhem. Only checked if g_powerups is -1 therefore this will be overridden by g_powerups 1 or 0"
+set g_tmayhem_regenerate 0 "allow players to regenerate hp. rates controlled by hp regeneration and rotting cvars"
index 94612bc2fa256f7e159d6b9ab7e9449a4d5541fa..26385ebea9714262e76c0c9319d6589e658a771c 100644 (file)
@@ -378,6 +378,8 @@ void cvar_changes_init()
                BADCVAR("g_spawn_alloweffects");
                BADCVAR("g_tdm_point_leadlimit");
                BADCVAR("g_tdm_point_limit");
+               BADCVAR("g_tmayhem_point_leadlimit");
+               BADCVAR("g_tmayhem_point_limit");
                BADCVAR("leadlimit_and_fraglimit");
                BADCVAR("leadlimit_override");
                BADCVAR("pausable");
@@ -452,6 +454,8 @@ void cvar_changes_init()
                BADCVAR("g_keyhunt_point_limit");
                BADCVAR("g_keyhunt_teams_override");
                BADCVAR("g_lms_lives_override");
+               BADCVAR("g_mayhem_regenerate");
+               BADCVAR("g_mayhem_powerups");
                BADCVAR("g_maplist");
                BADCVAR("g_maxplayers");
                BADCVAR("g_mirrordamage");
@@ -467,6 +471,8 @@ void cvar_changes_init()
                BADCVAR("g_start_delay");
                BADCVAR("g_superspectate");
                BADCVAR("g_tdm_teams_override");
+               BADCVAR("g_tmayhem_teams_override");
+               BADCVAR("g_tmayhem_powerups");
                BADCVAR("g_warmup");
                BADCVAR("g_weapon_stay"); BADPRESUFFIX("g_", "_weapon_stay");
                BADCVAR("hostname");
@@ -524,6 +530,8 @@ void cvar_changes_init()
                BADCVAR("g_ca_weaponarena");
                BADCVAR("g_freezetag_weaponarena");
                BADCVAR("g_lms_weaponarena");
+               BADCVAR("g_mayhem_weaponarena");
+               BADCVAR("g_tmayhem_weaponarena");
                BADCVAR("g_ctf_stalemate_time");
 
 #undef BADPRESUFFIX