Update addons/hitreactions/functions/fnc_throwWeapon.sqf

Co-Authored-By: jonpas <jonpas33@gmail.com>
This commit is contained in:
commy2 2020-01-11 03:01:33 +01:00 committed by GitHub
parent bd2dc7367b
commit 518006e864
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,6 +19,7 @@
#define THROW_TORQUE 0.2 #define THROW_TORQUE 0.2
params ["_unit"]; params ["_unit"];
private _weapon = currentWeapon _unit; private _weapon = currentWeapon _unit;
if (_weapon isEqualTo "") exitWith {objNull}; if (_weapon isEqualTo "") exitWith {objNull};