From bc7194942f7a09a32e21a7b3c9311e973ba3dbc0 Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Thu, 5 Nov 2020 11:42:41 -0600 Subject: [PATCH] Update fnc_sortStatement_protection.sqf (#7989) --- addons/arsenal/functions/fnc_sortStatement_protection.sqf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/arsenal/functions/fnc_sortStatement_protection.sqf b/addons/arsenal/functions/fnc_sortStatement_protection.sqf index 4ab0509e42..463c75e03d 100644 --- a/addons/arsenal/functions/fnc_sortStatement_protection.sqf +++ b/addons/arsenal/functions/fnc_sortStatement_protection.sqf @@ -14,7 +14,8 @@ * Public: No */ -params ["_itemCfg", "_ballisticCo", "_explosiveCo"]; +params ["_itemInfo", "_ballisticCo", "_explosiveCo"]; +_itemInfo params ["_itemCfg"]; (([[_itemCfg], ["passthrough", "armor"]] call BIS_fnc_configExtremes) select 1) params [["_passthroughMax", 0], ["_armorMax", 0]];