From f74e680ca74b51719c34bdce6d8d3a6429364aab Mon Sep 17 00:00:00 2001 From: Richard Helgeby Date: Sun, 25 Jul 2010 20:33:56 +0200 Subject: [PATCH] Added 'explode' suicide command from OB update to intercept list (bug 190). --- cstrike/cfg/sourcemod/zombiereloaded/zombiereloaded.cfg | 4 ++-- src/zr/cvars.inc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cstrike/cfg/sourcemod/zombiereloaded/zombiereloaded.cfg b/cstrike/cfg/sourcemod/zombiereloaded/zombiereloaded.cfg index 0c23d24..bb0690f 100644 --- a/cstrike/cfg/sourcemod/zombiereloaded/zombiereloaded.cfg +++ b/cstrike/cfg/sourcemod/zombiereloaded/zombiereloaded.cfg @@ -387,8 +387,8 @@ zr_damage_suicide_mzombie "1" zr_damage_suicide_human "0" // List of client commands to intercept as suicide attempts. [Delimiter: ", "] -// Default: "kill, spectate, jointeam, joinclass" -zr_damage_suicide_cmds "kill, spectate, jointeam, joinclass" +// Default: "kill, spectate, jointeam, joinclass, explode" +zr_damage_suicide_cmds "kill, spectate, jointeam, joinclass, explode" // Intercept suicide commands only after the first zombie has spawned. // Default: "1" diff --git a/src/zr/cvars.inc b/src/zr/cvars.inc index bd81cf7..261898a 100644 --- a/src/zr/cvars.inc +++ b/src/zr/cvars.inc @@ -350,7 +350,7 @@ CvarsCreate() g_hCvarsList[CVAR_DAMAGE_SUICIDE_ZOMBIE] = CreateConVar("zr_damage_suicide_zombie", "0", "Intercept suicide commands attempted by zombies."); g_hCvarsList[CVAR_DAMAGE_SUICIDE_MZOMBIE] = CreateConVar("zr_damage_suicide_mzombie", "1", "Intercept suicide commands attempted by mother zombies."); g_hCvarsList[CVAR_DAMAGE_SUICIDE_HUMAN] = CreateConVar("zr_damage_suicide_human", "0", "Intercept suicide commands attempted by humans."); - g_hCvarsList[CVAR_DAMAGE_SUICIDE_CMDS] = CreateConVar("zr_damage_suicide_cmds", "kill, spectate, jointeam, joinclass", "List of client commands to intercept as suicide attempts. [Delimiter: \", \"]"); + g_hCvarsList[CVAR_DAMAGE_SUICIDE_CMDS] = CreateConVar("zr_damage_suicide_cmds", "kill, spectate, jointeam, joinclass, explode", "List of client commands to intercept as suicide attempts. [Delimiter: \", \"]"); g_hCvarsList[CVAR_SUICIDE_AFTER_INFECT] = CreateConVar("zr_damage_suicide_after_infect", "1", "Intercept suicide commands only after the first zombie has spawned.");