mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Allow repairing from slingload pods (#5316)
This commit is contained in:
parent
cddc34e08a
commit
cb911c91ef
@ -18,11 +18,9 @@
|
||||
params ["_unit"];
|
||||
TRACE_1("params",_unit);
|
||||
|
||||
private ["_nearObjects", "_return"];
|
||||
private _nearObjects = nearestObjects [_unit, ["Air", "LandVehicle", "Slingload_base_F"], 20];
|
||||
|
||||
_nearObjects = nearestObjects [_unit, ["Air","LandVehicle"], 20];
|
||||
|
||||
_return = false;
|
||||
private _return = false;
|
||||
{
|
||||
if ([_x] call FUNC(isRepairVehicle)) exitWith {_return = true;};
|
||||
} forEach _nearObjects;
|
||||
|
Loading…
Reference in New Issue
Block a user