diff --git a/addons/common/functions/fnc_canInteractWith.sqf b/addons/common/functions/fnc_canInteractWith.sqf index 366da13458..b74f2092b4 100644 --- a/addons/common/functions/fnc_canInteractWith.sqf +++ b/addons/common/functions/fnc_canInteractWith.sqf @@ -26,7 +26,7 @@ _exceptions = [_exceptions, {toLower _this}] call FUNC(map); private "_owner"; _owner = _target getVariable [QGVAR(owner), objNull]; -if (!isNull _owner && {_unit != _owner} && {!([_owner] call FUNC(isPlayer))}) exitWith {false}; +if (!isNull _owner && {_unit != _owner}) exitWith {false}; // check general conditions diff --git a/addons/dragging/XEH_clientInit.sqf b/addons/dragging/XEH_clientInit.sqf index 339b7f590f..48a210b574 100644 --- a/addons/dragging/XEH_clientInit.sqf +++ b/addons/dragging/XEH_clientInit.sqf @@ -1,5 +1,4 @@ // by PabstMirror, commy2 - #include "script_component.hpp" GVAR(currentHeightChange) = 0; diff --git a/addons/dragging/functions/fnc_dropObject.sqf b/addons/dragging/functions/fnc_dropObject.sqf index a8f56d6753..bdc7e0003e 100644 --- a/addons/dragging/functions/fnc_dropObject.sqf +++ b/addons/dragging/functions/fnc_dropObject.sqf @@ -37,7 +37,6 @@ if (_inBuilding) then { _target setPosASL (getPosASL _target vectorAdd [0, 0, 0.05]); }; - _unit setVariable [QGVAR(isDragging), false, true]; _unit setVariable [QGVAR(draggedObject), objNull, true];