diff --git a/SQF/dayz_code/compile/object_removeTankTrap.sqf b/SQF/dayz_code/compile/object_removeTankTrap.sqf index f49dff762..6eb420290 100644 --- a/SQF/dayz_code/compile/object_removeTankTrap.sqf +++ b/SQF/dayz_code/compile/object_removeTankTrap.sqf @@ -3,7 +3,7 @@ private ["_nearTankTraps","_nearTankTrap"]; _onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1; _canDo = (!r_drag_sqf and !r_player_unconscious and !_onLadder); -_nearTankTraps = nearestObjects [player, "Hedgehog_DZ", 1]; +_nearTankTraps = nearestObjects [player, ["Hedgehog_DZ"], 1]; _nearTankTrap = _nearTankTraps select 0; if (!isNull _nearTankTrap and _canDo) then {