mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
fixed incorrect variable name
This commit is contained in:
parent
96ec435d0d
commit
2062f5dcb6
@ -21,7 +21,7 @@ _nearestVehicle = [_player] call FUNC(findNearestVehicle);
|
||||
if (isNull _nearestVehicle || _nearestVehicle isKindOf "Cargo_Base_F") then {
|
||||
|
||||
{
|
||||
if ([_item, _x] call FUNC(canLoadItemIn)) exitwith {_nearestVehicle = _x};
|
||||
if ([_object, _x] call FUNC(canLoadItemIn)) exitwith {_nearestVehicle = _x};
|
||||
}foreach (nearestObjects [_player, ["Cargo_base_F"], MAX_LOAD_DISTANCE]);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user