# Rifles not working with krav maga?

**URL:** <https://discourse.cataclysmdda.org/t/rifles-not-working-with-krav-maga/28774>\
**Category:** The Garage\
**Created:** [June 7, 2023, 12:42pm UTC](https://discourse.cataclysmdda.org/t/rifles-not-working-with-krav-maga/28774 "2023-06-07T12:42:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zeebie](https://avatars.discourse-cdn.com/v4/letter/z/49beb7/32.png) [@Zeebie](https://discourse.cataclysmdda.org/u/Zeebie)\
**Post date:** [June 7, 2023, 12:42pm UTC](https://discourse.cataclysmdda.org/t/rifles-not-working-with-krav-maga/28774/1 "2023-06-07T12:42:23Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![RenechCDDA](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/renechcdda/32/12231_2.png) [@RenechCDDA](https://discourse.cataclysmdda.org/u/RenechCDDA)\
**Post date:** [June 7, 2023, 12:48pm UTC](https://discourse.cataclysmdda.org/t/rifles-not-working-with-krav-maga/28774/2 "2023-06-07T12:48:26Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Zeebie](https://avatars.discourse-cdn.com/v4/letter/z/49beb7/32.png) [@Zeebie](https://discourse.cataclysmdda.org/u/Zeebie)\
**Post date:** [June 7, 2023, 12:55pm UTC](https://discourse.cataclysmdda.org/t/rifles-not-working-with-krav-maga/28774/3 "2023-06-07T12:55:10Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![RenechCDDA](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/renechcdda/32/12231_2.png) [@RenechCDDA](https://discourse.cataclysmdda.org/u/RenechCDDA)\
**Post date:** [June 7, 2023, 1:04pm UTC](https://discourse.cataclysmdda.org/t/rifles-not-working-with-krav-maga/28774/4 "2023-06-07T13:04:13Z")

</div>

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

```auto
"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](https://github.com/CleverRaven/Cataclysm-DDA/blob/fd8bbfe5ecfc9d53d7c18394861dc2af638fc991/data/json/items/gun/obsolete.json#L53)).

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.
