Fix bleeding hit logic for enabledFor = 1

This commit is contained in:
PabstMirror 2016-10-30 20:45:02 -05:00
parent 866612b974
commit ebd31168f4

View File

@ -16,7 +16,7 @@
params ["_unit", "", "_damage", "_shooter"];
if (GVAR(enabledFor) == 1 && {!isPlayer _unit || {_unit == ACE_player}}) exitWith {};
if (GVAR(enabledFor) == 1 && {!isPlayer _unit && {_unit != ACE_player}}) exitWith {};
if (vehicle _unit != _unit && {!((vehicle _unit) isKindOf "StaticWeapon")}) exitWith {}; // Don't bleed on ground if mounted
_damage = _damage min 1;