From 6adfa4ae609fb9411e6edd3481f6bbd6c8bedd93 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Tue, 18 Jul 2023 22:45:00 +0200 Subject: [PATCH] [MIRROR] [GBP: NO UPDATE] Fixes a runtime from inserting the vorpal scythe [MDB IGNORE] (#22559) * [GBP: NO UPDATE] Fixes a runtime from inserting the vorpal scythe (#76913) ## About The Pull Request Uses the correct proc to add the Morbid trait to chaplains who use the scythe. ## Why It's Good For The Game Nyoops. ## Changelog :cl: fix: Fixes a runtime on inserting the vorpal scythe into your arm. You should now gain the Morbid trait, as expected. /:cl: * [GBP: NO UPDATE] Fixes a runtime from inserting the vorpal scythe --------- Co-authored-by: necromanceranne <40847847+necromanceranne@users.noreply.github.com> Co-authored-by: Bloop --- code/modules/jobs/job_types/chaplain/chaplain_vorpal_scythe.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/jobs/job_types/chaplain/chaplain_vorpal_scythe.dm b/code/modules/jobs/job_types/chaplain/chaplain_vorpal_scythe.dm index 6776dc56b44..5b0a6274bf1 100644 --- a/code/modules/jobs/job_types/chaplain/chaplain_vorpal_scythe.dm +++ b/code/modules/jobs/job_types/chaplain/chaplain_vorpal_scythe.dm @@ -13,7 +13,7 @@ If the scythe isn't empowered when you sheath it, you take a heap of damage and /obj/item/organ/internal/cyberimp/arm/shard/scythe/Insert(mob/living/carbon/receiver, special, drop_if_replaced) . = ..() if(receiver.mind) - receiver.mind.add_traits(TRAIT_MORBID, ORGAN_TRAIT) + ADD_TRAIT(receiver.mind, TRAIT_MORBID, ORGAN_TRAIT) /obj/item/organ/internal/cyberimp/arm/shard/scythe/Retract() var/obj/item/vorpalscythe/scythe = active_item