Arsenal - Fix magazine misc items categorization (#9336)

fix stupid
This commit is contained in:
Grim 2023-08-20 00:43:22 -03:00 committed by GitHub
parent 8f3a1c5694
commit 2f8d92701f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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]};
};