diff --git a/addons/dragging/functions/fnc_createClone.sqf b/addons/dragging/functions/fnc_createClone.sqf index 3d454aea9c..6330be72f8 100644 --- a/addons/dragging/functions/fnc_createClone.sqf +++ b/addons/dragging/functions/fnc_createClone.sqf @@ -28,7 +28,7 @@ private _clone = createVehicle [QGVAR(clone), _posATL]; // Hide unit until it can be moved below terrain private _isObjectHidden = isObjectHidden _target; -if (_isObjectHidden) then { +if (!_isObjectHidden) then { [QEGVAR(common,hideObjectGlobal), [_target, true]] call CBA_fnc_serverEvent; }; diff --git a/addons/dragging/functions/fnc_dropClone.sqf b/addons/dragging/functions/fnc_dropClone.sqf index 4832740e0f..cee2932eac 100644 --- a/addons/dragging/functions/fnc_dropClone.sqf +++ b/addons/dragging/functions/fnc_dropClone.sqf @@ -43,7 +43,7 @@ if (!isNull _target) then { [{ params ["_target", "_clone", "_isObjectHidden", "_simulationEnabled"]; - if (_isObjectHidden) then { + if (!_isObjectHidden) then { [QEGVAR(common,hideObjectGlobal), [_target, false]] call CBA_fnc_serverEvent; };