From cf0ef07ade3d74ee5bf68963a419760a91ba211e Mon Sep 17 00:00:00 2001 From: ebaydayz Date: Thu, 20 Oct 2016 13:00:58 -0400 Subject: [PATCH] Fix process hit running twice Vanilla commit: https://github.com/DayZMod/DayZ/commit/604c1f05777a44f47dcae324473df129cf44c902 --- SQF/dayz_code/compile/fn_damageHandler.sqf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SQF/dayz_code/compile/fn_damageHandler.sqf b/SQF/dayz_code/compile/fn_damageHandler.sqf index d1369e0ce..322cefd69 100644 --- a/SQF/dayz_code/compile/fn_damageHandler.sqf +++ b/SQF/dayz_code/compile/fn_damageHandler.sqf @@ -392,7 +392,8 @@ if (_hit in USEC_MinorWounds) then { [_unit,_hit,(_damage / 2)] call object_processHit; }; - [_unit,_hit,(_damage / 2)] call object_processHit; + //Stop process hit running twice. its set aboue in the if else statement. + //[_unit,_hit,(_damage / 2)] call object_processHit; }; };