From: Mario <zacjardine@y7mail.com>
Date: Thu, 3 Dec 2020 08:06:24 +0000 (+1000)
Subject: Move cloaked mutator cvars to the mutators configuration
X-Git-Tag: xonotic-v0.8.5~655
X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=474727f4d5363976370d1e19b24cb9904db6a044;p=xonotic%2Fxonotic-data.pk3dir.git

Move cloaked mutator cvars to the mutators configuration
---

diff --git a/mutators.cfg b/mutators.cfg
index c437868e3..d6ab4847c 100644
--- a/mutators.cfg
+++ b/mutators.cfg
@@ -529,3 +529,9 @@ exec randomitems-xonotic.cfg
 // ===============
 set g_pinata 0 "if set to 1 you will not only drop your current weapon when you are killed, but you will drop all weapons that you possessed"
 set g_pinata_offhand 0 "if enabled, the second weapon will drop as well while dual wielding"
+
+// =========
+//  cloaked
+// =========
+set g_cloaked 0 "display all players mostly invisible"
+set g_balance_cloaked_alpha 0.25 "opacity of cloaked players"
diff --git a/xonotic-server.cfg b/xonotic-server.cfg
index 0825e4dd0..aa55e8e60 100644
--- a/xonotic-server.cfg
+++ b/xonotic-server.cfg
@@ -231,11 +231,9 @@ set g_items_maxdist 4500 "maximum distance at which an item can be viewed, after
 
 set g_grab_range 200 "distance at which dragable objects can be grabbed"
 
-set g_cloaked 0 "display all players mostly invisible"
 set g_player_alpha 1 "default opacity of players"
 set g_player_brightness 0 "set to 2 for brighter players"
 set g_player_damageforcescale 2 "push multiplier of attacks against players"
-set g_balance_cloaked_alpha 0.25 "opacity of cloaked players"
 
 set g_playerclip_collisions 1 "0 = disable collision testing against playerclips, might be useful on some defrag maps"
 set g_botclip_collisions 1 "0 = disable collision testing against botclips, might be useful on some defrag maps"