Gets rid of hasorgans() helper proc (#18692)

This was just ishuman()
This commit is contained in:
Cameron Lennox
2025-11-08 03:30:32 +01:00
committed by GitHub
parent 607d8a386d
commit c2b50ace33
24 changed files with 74 additions and 78 deletions
+2 -2
View File
@@ -11,7 +11,7 @@
return 0
if (target_zone == O_EYES) //there are specific steps for eye surgery
return 0
if (!hasorgans(target))
if(!ishuman(target))
return 0
var/obj/item/organ/external/affected = target.get_organ(target_zone)
if (affected == null)
@@ -371,7 +371,7 @@
/datum/surgery_step/generic/amputate/can_use(mob/living/user, mob/living/carbon/human/target, target_zone, obj/item/tool)
if (target_zone == O_EYES) //there are specific steps for eye surgery
return 0
if (!hasorgans(target))
if(!ishuman(target))
return 0
var/obj/item/organ/external/affected = target.get_organ(target_zone)
if (affected == null)