Fix cargo loading to locked vehicle (#5049)

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

View File

@ -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}