#428 - Only work on locked vehicles.

This commit is contained in:
PabstMirror 2015-04-10 13:05:14 -05:00
parent f60bf87df0
commit 33570c94e4

View File

@ -27,6 +27,7 @@ PARAMS_3(_unit,_veh,_funcType);
if (isNull _unit) exitWith {ERROR("null unit"); false};
if (isNull _veh) exitWith {ERROR("null vehicle"); false};
//need lockpick item
if (!("ACE_key_lockpick" in (items _unit))) exitWith {false};