Skip to content

Commit

Permalink
Fixes some laser designators going into the wrong arsenal tab
Browse files Browse the repository at this point in the history
  • Loading branch information
Spoffy committed Aug 9, 2019
1 parent 423a190 commit 4e4b642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion A3-Antistasi/JeroenArsenal/JNA/fn_arsenal_itemType.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ private _itemCategory = switch true do {
case (_itemInfoType == TYPE_VEST): { "Vest" };
case (_simulationType == "NVGoggles"): { "NVGoggles" };
//Binos after NVGs to avoid accidentally catching them;
case (_simulationType == "Binocular" || _itemInfoType == TYPE_BINOCULAR_AND_NVG): { "Binocular" };
case (_simulationType == "Binocular" || {_simulationType == "Weapon" && _itemType == TYPE_BINOCULAR_AND_NVG}): { "Binocular" };
case (_simulationType == "ItemMap"): { "Map" };
case (_simulationType == "ItemCompass"): { "Compass" };
case (_simulationType == "ItemRadio"): { "Radio" };
Expand Down

0 comments on commit 4e4b642

Please sign in to comment.