From c85c8b784d094354e2284ccefb8e363c20df618d Mon Sep 17 00:00:00 2001
From: FruitieX <fruitiex@gmail.com>
Date: Thu, 9 Dec 2010 22:43:36 +0200
Subject: [PATCH] force weapon stay on in CTS

---
 qcsrc/server/miscfunctions.qc | 3 +++
 1 file changed, 3 insertions(+)

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)
-- 
2.39.5