mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix repair at dead vehicle (#6262)
This commit is contained in:
parent
13d338a789
commit
350711a86c
@ -22,7 +22,7 @@ private _nearObjects = nearestObjects [_unit, ["Air", "LandVehicle", "Slingload_
|
||||
|
||||
private _return = false;
|
||||
{
|
||||
if ([_x] call FUNC(isRepairVehicle)) exitWith {_return = true;};
|
||||
if (alive _x && {[_x] call FUNC(isRepairVehicle)}) exitWith {_return = true;};
|
||||
} forEach _nearObjects;
|
||||
|
||||
_return;
|
||||
|
Loading…
Reference in New Issue
Block a user