From fc15ab9cf0b3e9c9ad0777f8d68cdaffc6fc9b48 Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Sat, 22 Oct 2016 03:56:26 -0500 Subject: [PATCH] #4557 - Fix warning about bad func type (#4582) --- addons/vehiclelock/functions/fnc_lockpick.sqf | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/vehiclelock/functions/fnc_lockpick.sqf b/addons/vehiclelock/functions/fnc_lockpick.sqf index bf15a6eadd..3ac7385a04 100644 --- a/addons/vehiclelock/functions/fnc_lockpick.sqf +++ b/addons/vehiclelock/functions/fnc_lockpick.sqf @@ -51,6 +51,7 @@ if (!([[_unit, _veh]] call _condition)) exitWith {false}; _returnValue = _funcType in ["canLockpick", "startLockpick", "finishLockpick"]; switch (_funcType) do { + case "canLockpick": {}; case "startLockpick": { [_vehLockpickStrenth, [_unit, _veh, "finishLockpick"], {(_this select 0) call FUNC(lockpick)}, {}, (localize LSTRING(Action_LockpickInUse)), _condition] call EFUNC(common,progressBar); };