From 7e74694d6edc3472d31fb0bed65456fa7d4a2eec Mon Sep 17 00:00:00 2001
From: DGamerL <108773801+DGamerL@users.noreply.github.com>
Date: Tue, 21 Nov 2023 20:49:20 +0100
Subject: [PATCH] Fixes some issues with patches and pills (#23322)
* Oops
* Update code/modules/mob/living/carbon/carbon.dm
Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
---------
Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
---
code/modules/food_and_drinks/kitchen_machinery/smartfridge.dm | 2 ++
code/modules/mob/living/carbon/carbon.dm | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/code/modules/food_and_drinks/kitchen_machinery/smartfridge.dm b/code/modules/food_and_drinks/kitchen_machinery/smartfridge.dm
index ba792cbf8f1..7ac0273ec5c 100644
--- a/code/modules/food_and_drinks/kitchen_machinery/smartfridge.dm
+++ b/code/modules/food_and_drinks/kitchen_machinery/smartfridge.dm
@@ -579,6 +579,7 @@
/obj/item/reagent_containers/applicator,
/obj/item/storage/pill_bottle,
/obj/item/reagent_containers/pill,
+ /obj/item/reagent_containers/patch,
/obj/item/stack/medical
))
@@ -619,6 +620,7 @@
/obj/item/reagent_containers/applicator,
/obj/item/storage/pill_bottle,
/obj/item/reagent_containers/pill,
+ /obj/item/reagent_containers/patch,
/obj/item/stack/medical
))
diff --git a/code/modules/mob/living/carbon/carbon.dm b/code/modules/mob/living/carbon/carbon.dm
index d69ec32c28b..fc63af54951 100644
--- a/code/modules/mob/living/carbon/carbon.dm
+++ b/code/modules/mob/living/carbon/carbon.dm
@@ -1245,7 +1245,7 @@ so that different stomachs can handle things in different ways VB*/
instant = TRUE
if(user != src && !instant)
- if(requires_mouth && !head)
+ if(requires_mouth && !get_organ("head"))
to_chat(user, "You cannot feed [src] [medicine]!")
return FALSE
visible_message("[user] attempts to force [src] to [apply_method] [medicine].")