1
0
mirror of https://github.com/acemod/ACE3.git synced 2024-08-30 18:23:18 +00:00

Fix cargo loading to locked vehicle ()

This commit is contained in:
Dystopian 2017-04-01 08:33:36 +03:00 committed by PabstMirror
parent 4a24759650
commit 83d2183f61

@ -40,4 +40,5 @@ if (_item isEqualType "") then {
_validItem &&
{_itemSize > 0} &&
{alive _vehicle} &&
{_itemSize <= ([_vehicle] call FUNC(getCargoSpaceLeft))}
{_itemSize <= ([_vehicle] call FUNC(getCargoSpaceLeft))} &&
{locked _vehicle < 2}