diff --git a/addons/getLoadoutsFromUnits/functions/fnc_getWeapon.sqf b/addons/getLoadoutsFromUnits/functions/fnc_getWeapon.sqf index 39c4ed8..3fce986 100644 --- a/addons/getLoadoutsFromUnits/functions/fnc_getWeapon.sqf +++ b/addons/getLoadoutsFromUnits/functions/fnc_getWeapon.sqf @@ -30,7 +30,7 @@ if !(_weaponArray isEqualTo []) then { }; if ((_underbarrelMagazin isEqualType []) && {_underbarrelMagazin isNotEqualTo []} && {!isNil {_underbarrelMagazin select 0}})then { - _return pushBack (_tripleTab + format ["%1WeaponUnderbarrel = ""%2"";", _name, _underbarrelMagazin select 0]); + _return pushBack (_tripleTab + format ["%1WeaponUnderbarrelMagazine = ""%2"";", _name, _underbarrelMagazin select 0]); }; /* } else {