mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix bleeding hit logic for enabledFor = 1
This commit is contained in:
parent
866612b974
commit
ebd31168f4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user