Update addons/dragging/functions/fnc_createClone.sqf

Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
This commit is contained in:
johnb432 2024-02-02 14:54:19 -08:00 committed by GitHub
parent f805604901
commit 43fb2613be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);