mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Remove unneeded isBicycle check in fn_selfActions
Bicycles always have characterID=0, so there is no need to check.
This commit is contained in:
@@ -124,7 +124,7 @@ if (!_canDoThis && s_player_Drinkfromhands >= 0) then {
|
|||||||
|
|
||||||
if (_inVehicle) then {
|
if (_inVehicle) then {
|
||||||
DZE_myVehicle = _vehicle;
|
DZE_myVehicle = _vehicle;
|
||||||
if (_vehicleOwnerID != "0" && !(_vehicle isKindOf "Bicycle") && _canDo) then {
|
if (_vehicleOwnerID != "0" && _canDo) then {
|
||||||
if (s_player_lockUnlockInside_ctrl < 0) then {
|
if (s_player_lockUnlockInside_ctrl < 0) then {
|
||||||
_totalKeys = call epoch_tempKeys;
|
_totalKeys = call epoch_tempKeys;
|
||||||
_temp_keys = _totalKeys select 0;
|
_temp_keys = _totalKeys select 0;
|
||||||
@@ -453,7 +453,7 @@ if (!isNull _cursorTarget && !_inVehicle && !_isPZombie && (player distance _cur
|
|||||||
};
|
};
|
||||||
|
|
||||||
if (_isVehicle) then {
|
if (_isVehicle) then {
|
||||||
if ((_characterID != "0") && {!_isMan} && {!_isBicycle}) then {
|
if ((_characterID != "0") && {!_isMan}) then {
|
||||||
_player_lockUnlock_crtl = true;
|
_player_lockUnlock_crtl = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user