From: FruitieX Date: Thu, 9 Dec 2010 20:43:36 +0000 (+0200) Subject: force weapon stay on in CTS X-Git-Tag: xonotic-v0.1.0preview~51^2~23 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c85c8b784d094354e2284ccefb8e363c20df618d;p=xonotic%2Fxonotic-data.pk3dir.git force weapon stay on in CTS --- diff --git a/qcsrc/server/miscfunctions.qc b/qcsrc/server/miscfunctions.qc index 4eb29e17a..7eb10de0f 100644 --- a/qcsrc/server/miscfunctions.qc +++ b/qcsrc/server/miscfunctions.qc @@ -1297,6 +1297,9 @@ void readlevelcvars(void) if (!g_weapon_stay && (cvar("deathmatch") == 2)) g_weapon_stay = 1; + if (!g_weapon_stay && g_cts) + g_weapon_stay = 1; + g_ghost_items = cvar("g_ghost_items"); if(g_ghost_items >= 1)