From: Rudolf Polzer Date: Thu, 1 Sep 2011 11:21:56 +0000 (+0200) Subject: remove legacy cvar("deathmatch" "2") support to enable weapon stay X-Git-Tag: xonotic-v0.5.0~15 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=06f9cfeaf1dbe3c18746d29d2a15149bf42df580;p=xonotic%2Fxonotic-data.pk3dir.git remove legacy cvar("deathmatch" "2") support to enable weapon stay --- diff --git a/qcsrc/server/miscfunctions.qc b/qcsrc/server/miscfunctions.qc index 4192e4973..1c070b08b 100644 --- a/qcsrc/server/miscfunctions.qc +++ b/qcsrc/server/miscfunctions.qc @@ -1256,9 +1256,6 @@ void readlevelcvars(void) if(!g_weapon_stay) g_weapon_stay = cvar("g_weapon_stay"); - if (!g_weapon_stay && (cvar("deathmatch") == 2)) - g_weapon_stay = 1; - g_ghost_items = cvar("g_ghost_items"); if(g_ghost_items >= 1)