From c4f861630d8cd0d06909edb19c1170d988a491f7 Mon Sep 17 00:00:00 2001 From: ebaydayz Date: Sun, 2 Oct 2016 13:57:33 -0400 Subject: [PATCH] Fix typo from 55910cc Variable is not defined in this script. --- SQF/dayz_code/compile/player_death.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQF/dayz_code/compile/player_death.sqf b/SQF/dayz_code/compile/player_death.sqf index bf108ad26..2446d8595 100644 --- a/SQF/dayz_code/compile/player_death.sqf +++ b/SQF/dayz_code/compile/player_death.sqf @@ -81,7 +81,7 @@ if (count _array > 0) then { //_isBandit = (_model in ["Bandit1_DZ","BanditW1_DZ"]); //if you are a bandit or start first - player will not recieve humanity drop - _punishment = ((_isBandit or {player getVariable ["OpenTarget",false]}) && !_isPZombie); + _punishment = ((_isBandit or {player getVariable ["OpenTarget",false]}) && !(player isKindOf "PZombie_VB")); _humanityHit = 0; if (!_punishment) then {