From 6cff8deba8be0088216dbc3c9120003c8c6bd4b5 Mon Sep 17 00:00:00 2001
From: commy2 <commy-2@gmx.de>
Date: Sun, 24 Mar 2019 09:28:58 +0100
Subject: [PATCH] cleanup dragging

---
 addons/dragging/functions/fnc_dragObjectPFH.sqf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/addons/dragging/functions/fnc_dragObjectPFH.sqf b/addons/dragging/functions/fnc_dragObjectPFH.sqf
index 2e559f82bd..a45a26ae89 100644
--- a/addons/dragging/functions/fnc_dragObjectPFH.sqf
+++ b/addons/dragging/functions/fnc_dragObjectPFH.sqf
@@ -24,7 +24,7 @@
 #endif
 
 params ["_args", "_idPFH"];
-_args params ["_unit","_target", "_startTime"];
+_args params ["_unit", "_target", "_startTime"];
 
 if !(_unit getVariable [QGVAR(isDragging), false]) exitWith {
     TRACE_2("drag false",_unit,_target);
@@ -35,7 +35,7 @@ if !(_unit getVariable [QGVAR(isDragging), false]) exitWith {
 if (!alive _target || {_unit distance _target > 10}) then {
     TRACE_2("dead/distance",_unit,_target);
     if ((_unit distance _target > 10) && {(CBA_missionTime - _startTime) < 1}) exitWith {
-        //attachTo seems to have some kind of network delay and target can return an odd position durring the first few frames,
+        //attachTo seems to have some kind of network delay and target can return an odd position during the first few frames,
         //so wait a full second to exit if out of range (this is critical as we would otherwise detach and set it's pos to weird pos)
         TRACE_3("ignoring bad distance at start",_unit distance _target,_startTime,CBA_missionTime);
     };