From e1900d81bc526ac8cd3c8257a2b298cb507f82c0 Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Fri, 28 Oct 2016 15:12:37 -0500 Subject: [PATCH] Fix bleeding hit logic for enabledFor = 1 (#4585) * Fix bleeding hit logic for enabledFor = 1 * Handle RC * fix --- addons/medical_blood/XEH_postInit.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/medical_blood/XEH_postInit.sqf b/addons/medical_blood/XEH_postInit.sqf index 8d563da1dc..ceff7f074c 100644 --- a/addons/medical_blood/XEH_postInit.sqf +++ b/addons/medical_blood/XEH_postInit.sqf @@ -39,7 +39,7 @@ if (isServer) then { ["CAManBase", "hit", { params ["_unit"]; - if (GVAR(enabledFor) == 1 && {!isPlayer _unit || {_unit == ACE_player}}) exitWith {}; + if (GVAR(enabledFor) == 1 && {!isPlayer _unit && {_unit != ACE_player}}) exitWith {}; _this call FUNC(hit); }] call CBA_fnc_addClassEventHandler;