From b5205c1fd07804045c53bbaf899314865566d340 Mon Sep 17 00:00:00 2001 From: johnb432 <58661205+johnb432@users.noreply.github.com> Date: Mon, 1 Jul 2024 10:13:01 -0700 Subject: [PATCH] Update addons/dragging/XEH_postInit.sqf Co-authored-by: Joko --- addons/dragging/XEH_postInit.sqf | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/addons/dragging/XEH_postInit.sqf b/addons/dragging/XEH_postInit.sqf index 942fffd4b8..a3bc903629 100644 --- a/addons/dragging/XEH_postInit.sqf +++ b/addons/dragging/XEH_postInit.sqf @@ -12,12 +12,7 @@ // Check if the corpse is already close to the target // If so, don't teleport if !( - (_currentPos select 0 <= _xPos + 0.25) && - {_currentPos select 0 >= _xPos - 0.25} && - {_currentPos select 1 <= _yPos + 0.25} && - {_currentPos select 1 >= _yPos - 0.25} && - {_currentPos select 2 <= _zPos + 0.25} && - {_currentPos select 2 >= _zPos - 0.25} + _currentPos distance _posATL > 0.25 ) then { // Set direction before position _corpse setDir _dir;