Rifles not working with krav maga?

Neither the M4 nor the M27 are being recognized as valid weapons by krav maga - anyone know why that might be or how to fix it?

With the recent changes to gun mods, those are no longer in the AUTOMATIC_RIFLES category, which martial arts use to check compatibility with a given style.

I would suggest you open a bug report on github.

Thanks, will do. Is there a way to edit my local json to include them?

Yes you should be able to just re-add the flag.

"weapon_category": [ "AUTOMATIC_RIFLES"  ],

Previously they were using copy-from rifle_auto so they inherited the flag (Cataclysm-DDA/obsolete.json at fd8bbfe5ecfc9d53d7c18394861dc2af638fc991 · CleverRaven/Cataclysm-DDA · GitHub).

Unfortunately as they’re now “modular” there is no guarantee that they are automatic rifles so the proper fix (outside your local files) is probably not going to be so simple.