Fixes the envenomable casing element and arrows. (#76219)

## About The Pull Request
Both the element and the object were trying to add an element as a
component, which to my amusement, just silently fails without throwing
any runtime, crash or stack trace (stuff for another PR, I suppose).

## Why It's Good For The Game
This will fix #75448.

## Changelog

🆑
fix: arrows can now be actually coated with reagents.
/🆑
This commit is contained in:
Ghom
2023-06-24 11:52:59 +02:00
committed by GitHub
parent f7e6f6bdb5
commit 1436b3f63a
2 changed files with 13 additions and 11 deletions
@@ -14,7 +14,7 @@
/obj/item/ammo_casing/caseless/arrow/Initialize(mapload)
. = ..()
AddComponent(/datum/element/envenomable_casing)
AddElement(/datum/element/envenomable_casing)
///base arrow projectile
/obj/projectile/bullet/reusable/arrow