mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
#2664 - Disable loading into locked vehicles.
This commit is contained in:
parent
ea01db4030
commit
21f35dc7d0
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user