Skip to content

Commit

Permalink
bugfix: autoimplanter v2 (#4485)
Browse files Browse the repository at this point in the history
  • Loading branch information
Samirakis authored Feb 22, 2024
1 parent 68ba68c commit d334c05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/surgery/organs/autoimplanter.dm
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
to_chat(user, "<span class='notice'>[src] currently has no implant stored.</span>")
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
Expand Down

0 comments on commit d334c05

Please sign in to comment.