From 2f8d92701fe8fa78731edeb82dba99dd22b3901e Mon Sep 17 00:00:00 2001 From: Grim <69561145+LinkIsGrim@users.noreply.github.com> Date: Sun, 20 Aug 2023 00:43:22 -0300 Subject: [PATCH] Arsenal - Fix magazine misc items categorization (#9336) fix stupid --- addons/arsenal/functions/fnc_scanConfig.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/arsenal/functions/fnc_scanConfig.sqf b/addons/arsenal/functions/fnc_scanConfig.sqf index 6435450ace..335089534c 100644 --- a/addons/arsenal/functions/fnc_scanConfig.sqf +++ b/addons/arsenal/functions/fnc_scanConfig.sqf @@ -173,7 +173,7 @@ _magazineMiscItems deleteAt ""; switch (true) do { // "Misc. items" magazines (e.g. spare barrels, intel, photos) - case (_x in _magazineMiscItems): { + case (_className in _magazineMiscItems): { (_configItems get IDX_VIRT_MISC_ITEMS) set [_className, nil]; if (getNumber (_x >> "ACE_isTool") isEqualTo 1) then {_toolList set [_className, nil]}; };