Update fnc_sortStatement_protection.sqf (#7989)

This commit is contained in:
PabstMirror 2020-11-05 11:42:41 -06:00 committed by GitHub
parent 0a27a275d1
commit bc7194942f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,8 @@
* Public: No * 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]]; (([[_itemCfg], ["passthrough", "armor"]] call BIS_fnc_configExtremes) select 1) params [["_passthroughMax", 0], ["_armorMax", 0]];