This commit is contained in:
commy2 2015-03-25 14:34:19 +01:00
parent 0c8e8236dd
commit 569a77d41b
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ _target = _this select 0 select 1;
_timeOut = _this select 0 select 2;
// handle aborting carry
if (_unit getVariable [QGVAR(isCarrying), false]) exitWith {
if !(_unit getVariable [QGVAR(isCarrying), false]) exitWith {
[_this select 1] call CBA_fnc_removePerFrameHandler;
};

View File

@ -8,7 +8,7 @@ _target = _this select 0 select 1;
_timeOut = _this select 0 select 2;
// handle aborting drag
if (_unit getVariable [QGVAR(isDragging), false]) exitWith {
if !(_unit getVariable [QGVAR(isDragging), false]) exitWith {
[_this select 1] call CBA_fnc_removePerFrameHandler;
};