Fixes for slime surgery runtime

don't know why the slime is coming though even though the target is supposed to be human...
This commit is contained in:
yashaldie
2014-03-07 04:56:49 -05:00
parent 69dfb92719
commit 421b1ea6ef

View File

@@ -106,6 +106,8 @@
max_duration = 100
can_use(mob/living/user, mob/living/carbon/human/target, target_zone, obj/item/tool)
if(isslime(target))
return 0
var/datum/organ/external/affected = target.get_organ(target_zone)
var/can_fit = !affected.hidden && affected.cavity && tool.w_class <= get_max_wclass(affected)
return ..() && can_fit