mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Update fnc_canFullRepair.sqf
This commit is contained in:
parent
42e6a9fff2
commit
3594902df3
@ -23,12 +23,9 @@ private _return = false;
|
||||
private _allHitPointsDamage = getAllHitPointsDamage _target;
|
||||
|
||||
if (_allHitPointsDamage isNotEqualTo []) then {
|
||||
if ((_allHitPointsDamage select 2) findIf {_x > 0} != -1) then {
|
||||
_return = true;
|
||||
};
|
||||
_return = ((_allHitPointsDamage select 2) findIf {_x > 0} != -1);
|
||||
} else {
|
||||
_return = (damage _target) > 0;
|
||||
};
|
||||
|
||||
_return
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user