#2664 - Disable loading into locked vehicles.

This commit is contained in:
PabstMirror 2015-10-03 19:42:40 -05:00
parent ea01db4030
commit 21f35dc7d0

View File

@ -31,4 +31,6 @@ if (_nearestVehicle isKindOf "Cargo_Base_F" || isNull _nearestVehicle) then {
if (isNull _nearestVehicle) exitWith {false};
if ((locked _nearestVehicle) >= 2) exitWith {false};
[_object, _nearestVehicle] call FUNC(canLoadItemIn)