mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix bleeding hit logic for enabledFor = 1 (#4585)
* Fix bleeding hit logic for enabledFor = 1 * Handle RC * fix
This commit is contained in:
parent
416ab31610
commit
e1900d81bc
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user