Update addons/hitreactions/functions/fnc_throwWeapon.sqf

Co-Authored-By: jonpas <jonpas33@gmail.com>
This commit is contained in:
commy2 2020-02-13 23:15:41 +01:00 committed by GitHub
parent 0fc3cb0201
commit 0572ead9ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ if (!isNull objectParent _unit || _weapon isEqualTo "") exitWith {objNull};
private _data = weaponsItems _unit select {_x select 0 == _weapon} select 0;
private _holder = createVehicle ["WeaponHolderSimulated", [0,0,0], [], 0, "CAN_COLLIDE"];
private _holder = createVehicle ["WeaponHolderSimulated", [0, 0, 0], [], 0, "CAN_COLLIDE"];
_holder addWeaponWithAttachmentsCargoGlobal [_data, 1];
private _vDir = _unit weaponDirection _weapon;