From de44b32c83b986b61718587905978128ce126482 Mon Sep 17 00:00:00 2001 From: ebaydayz Date: Mon, 14 Nov 2016 14:38:45 -0500 Subject: [PATCH] Remove unneeded isBicycle check in fn_selfActions Bicycles always have characterID=0, so there is no need to check. --- SQF/dayz_code/compile/fn_selfActions.sqf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SQF/dayz_code/compile/fn_selfActions.sqf b/SQF/dayz_code/compile/fn_selfActions.sqf index 9a2613eb5..1019fbb0e 100644 --- a/SQF/dayz_code/compile/fn_selfActions.sqf +++ b/SQF/dayz_code/compile/fn_selfActions.sqf @@ -124,7 +124,7 @@ if (!_canDoThis && s_player_Drinkfromhands >= 0) then { if (_inVehicle) then { DZE_myVehicle = _vehicle; - if (_vehicleOwnerID != "0" && !(_vehicle isKindOf "Bicycle") && _canDo) then { + if (_vehicleOwnerID != "0" && _canDo) then { if (s_player_lockUnlockInside_ctrl < 0) then { _totalKeys = call epoch_tempKeys; _temp_keys = _totalKeys select 0; @@ -453,7 +453,7 @@ if (!isNull _cursorTarget && !_inVehicle && !_isPZombie && (player distance _cur }; if (_isVehicle) then { - if ((_characterID != "0") && {!_isMan} && {!_isBicycle}) then { + if ((_characterID != "0") && {!_isMan}) then { _player_lockUnlock_crtl = true; }; };