mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Update addons/dragging/functions/fnc_createClone.sqf
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
This commit is contained in:
parent
f805604901
commit
43fb2613be
@ -18,10 +18,10 @@
|
|||||||
|
|
||||||
params ["_unit", "_target"];
|
params ["_unit", "_target"];
|
||||||
|
|
||||||
private _posATL = getPosASL _target;
|
private _posATL = getPosATL _target;
|
||||||
|
|
||||||
// Create clone
|
// Create clone
|
||||||
private _clone = createVehicle [QGVAR(clone), ASLToAGL _posATL, [], 0, "CAN_COLLIDE"];
|
private _clone = createVehicle [QGVAR(clone), _posATL, [], 0, "CAN_COLLIDE"];
|
||||||
|
|
||||||
// Claim the clone
|
// Claim the clone
|
||||||
[_unit, _clone] call EFUNC(common,claim);
|
[_unit, _clone] call EFUNC(common,claim);
|
||||||
|
Loading…
Reference in New Issue
Block a user