diff --git a/addons/dragging/functions/fnc_getWeight.sqf b/addons/dragging/functions/fnc_getWeight.sqf index d6e1b65ba5..d4e3c33f60 100644 --- a/addons/dragging/functions/fnc_getWeight.sqf +++ b/addons/dragging/functions/fnc_getWeight.sqf @@ -24,7 +24,7 @@ _totalWeight = 0; // Cycle through all item types with their assigned config paths. { _x params["_items","_getConfigCode"]; - _items params ["_item", "_count"] + _items params ["_item", "_count"]; // Cycle through all items and read their mass out of the config. { // Multiply mass with amount of items and add the mass to the total weight. diff --git a/addons/dragging/functions/fnc_initObject.sqf b/addons/dragging/functions/fnc_initObject.sqf index 37999d4dc5..4146b93769 100644 --- a/addons/dragging/functions/fnc_initObject.sqf +++ b/addons/dragging/functions/fnc_initObject.sqf @@ -26,7 +26,7 @@ if (getNumber (_config >> QGVAR(canDrag)) == 1) then { [_object, true, _position, _direction] call FUNC(setDraggable); }; -if (getNumber (_config >> QGVAR(canCarry)) == 1) then +if (getNumber (_config >> QGVAR(canCarry)) == 1) then { _position = getArray (_config >> QGVAR(carryPosition)); _direction = getNumber (_config >> QGVAR(carryDirection));