mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Dragging - Fix dropping incorrect object when carrying fails (#9860)
Update fnc_startCarryPFH.sqf
This commit is contained in:
parent
0856e58ae9
commit
11844ef05e
@ -55,8 +55,8 @@ if (_target isKindOf "CAManBase") then {
|
||||
TRACE_4("timeout",_unit,_target,_timeOut,CBA_missionTime);
|
||||
_idPFH call CBA_fnc_removePerFrameHandler;
|
||||
|
||||
private _draggedObject = _unit getVariable [QGVAR(draggedObject), objNull];
|
||||
[_unit, _draggedObject] call FUNC(dropObject_carry);
|
||||
private _carriedObject = _unit getVariable [QGVAR(carriedObject), objNull];
|
||||
[_unit, _carriedObject] call FUNC(dropObject_carry);
|
||||
};
|
||||
|
||||
// Wait for the unit to stand up
|
||||
|
Loading…
Reference in New Issue
Block a user