CBATeam / CBA_A3

Community Base Addons for Arma 3
https://github.com/CBATeam/CBA_A3/wiki
GNU General Public License v2.0
364 stars 151 forks source link

Joint Rails - Fix `CBA_fnc_compatibleItems` undefined variable #1655

Closed jonpas closed 5 months ago

jonpas commented 6 months ago

When merged this pull request will:

I don't see a downside in doing "" as default value, but maybe I am missing something.

PabstMirror commented 6 months ago

count (["LMG_Mk200_F", ""] call CBA_fnc_compatibleItems) goes from 0 to 75 but I don't have a problem with this because "" was never a valid input