From de057a7fc61c587a5630db1672430bbeee01f9fe Mon Sep 17 00:00:00 2001 From: JetBoom Date: Wed, 19 Nov 2014 09:16:46 -0500 Subject: [PATCH] Fix zs_noredeem convar not working. --- gamemodes/zombiesurvival/gamemode/obj_player_extend_sv.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamemodes/zombiesurvival/gamemode/obj_player_extend_sv.lua b/gamemodes/zombiesurvival/gamemode/obj_player_extend_sv.lua index fd6a6e8..8efffa1 100644 --- a/gamemodes/zombiesurvival/gamemode/obj_player_extend_sv.lua +++ b/gamemodes/zombiesurvival/gamemode/obj_player_extend_sv.lua @@ -758,7 +758,7 @@ meta.GetBrains = meta.Frags function meta:CheckRedeem(instant) if not self:IsValid() or self:Team() ~= TEAM_UNDEAD or GAMEMODE:GetRedeemBrains() <= 0 or self:GetBrains() < GAMEMODE:GetRedeemBrains() - or GAMEMODE.NoRedeeming or self:GetZombieClassTable().Boss then return end + or GAMEMODE.NoRedeeming or self.NoRedeeming or self:GetZombieClassTable().Boss then return end if GAMEMODE:GetWave() ~= GAMEMODE:GetNumberOfWaves() or not GAMEMODE.ObjectiveMap and GAMEMODE:GetNumberOfWaves() == 1 and CurTime() < GAMEMODE:GetWaveEnd() - 300 then if instant then