From d334c05324ffebb6b3c69c6bff228445d2bdbaf9 Mon Sep 17 00:00:00 2001 From: Valtor <156955117+Samirakis@users.noreply.github.com> Date: Thu, 22 Feb 2024 19:24:59 +0300 Subject: [PATCH] bugfix: autoimplanter v2 (#4485) --- code/modules/surgery/organs/autoimplanter.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/surgery/organs/autoimplanter.dm b/code/modules/surgery/organs/autoimplanter.dm index 58952bfa6dc..34f9c200c29 100644 --- a/code/modules/surgery/organs/autoimplanter.dm +++ b/code/modules/surgery/organs/autoimplanter.dm @@ -16,7 +16,7 @@ to_chat(user, "[src] currently has no implant stored.") return FALSE var/mob/living/carbon/human/patient = user - if(!patient.bodyparts_by_name[storedorgan.parent_organ_zone]) + if(!patient.bodyparts_by_name[check_zone(storedorgan.parent_organ_zone)]) to_chat(user, span_warning("Missing limb!")) return FALSE storedorgan.insert(user)//insert stored organ into the user