force weapon stay on in CTS
authorFruitieX <fruitiex@gmail.com>
Thu, 9 Dec 2010 20:43:36 +0000 (22:43 +0200)
committerFruitieX <fruitiex@gmail.com>
Thu, 9 Dec 2010 20:43:36 +0000 (22:43 +0200)
qcsrc/server/miscfunctions.qc

index 4eb29e1..7eb10de 100644 (file)
@@ -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)