mirror of
https://github.com/acemod/ACE3.git
synced 2025-07-25 21:02:48 +00:00
Update fnc_canFullRepair.sqf
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user