diff --git a/addons/missionMaking/functions/fnc_testAllLoadouts.sqf b/addons/missionMaking/functions/fnc_testAllLoadouts.sqf index 64daea0c..8cb80663 100644 --- a/addons/missionMaking/functions/fnc_testAllLoadouts.sqf +++ b/addons/missionMaking/functions/fnc_testAllLoadouts.sqf @@ -90,7 +90,7 @@ private _getArrayAndCheck = { private _configLaunchers = ["launchers", [_cfgWeap]] call _getArrayAndCheck; private _configHandguns = ["handguns", [_cfgWeap]] call _getArrayAndCheck; private _configMagazines = ["magazines", [_cfgWeap, _cfgMag]] call _getArrayAndCheck; - private _configItems = ["items", [_cfgWeap]] call _getArrayAndCheck; + private _configItems = ["items", [_cfgWeap, _cfgMag]] call _getArrayAndCheck; private _configLinkedItems = ["linkedItems", [_cfgWeap]] call _getArrayAndCheck; private _configAttachments = ["attachments", [_cfgWeap]] call _getArrayAndCheck; private _configSecondaryAttachments = ["secondaryAttachments", [_cfgWeap]] call _getArrayAndCheck; @@ -113,7 +113,7 @@ private _getArrayAndCheck = { // Check we haves some ammo (besides launchers) if (_checkHaveSomeAmmo && {_weaponIndex != 1} && {_weaponMags isNotEqualTo []} && {(_configMagazines arrayIntersect _weaponMags) isEqualTo []}) then { - [format ["%1 has no magazines %2 from %3", _weapon, _configMagazines]] call _fnc_error; + [format ["%1 has no magazines %2", _weapon, _configMagazines]] call _fnc_error; }; // Check we use potato mags if they exist for the weapon