mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
logic
This commit is contained in:
parent
0c8e8236dd
commit
569a77d41b
@ -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;
|
||||
};
|
||||
|
||||
|
@ -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;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user