diff --git a/addons/weaponselect/functions/fnc_throwGrenade.sqf b/addons/weaponselect/functions/fnc_throwGrenade.sqf index cb7769df90..ab06fd5b5d 100644 --- a/addons/weaponselect/functions/fnc_throwGrenade.sqf +++ b/addons/weaponselect/functions/fnc_throwGrenade.sqf @@ -1,10 +1,10 @@ // by commy2 #include "script_component.hpp" -private ["_magazine"]; - -PARAMS_2(_unit,_weapon); +private ["_unit","_weapon","_magazine"]; +_unit = _this select 0; +_weapon = _this select 1; _magazine = _this select 5; if (_weapon != "Throw") exitWith {};