Fixed derp in surgery step.

Forgot they all instanced at init, not on demand.
This commit is contained in:
Chinsky
2013-02-19 17:51:04 +04:00
parent ba177e3ba3
commit 2ae3fdf122
+2
View File
@@ -132,6 +132,8 @@
var/datum/organ/external/affected = target.get_organ(target_zone)
if (affected.name in list("chest","groin","head"))
max_size = 3
else
max_size = 2
return affected.open == 2 && !(affected.status & ORGAN_BLEEDING) && tool.w_class <= max_size && !affected.hidden
begin_step(mob/user, mob/living/carbon/human/target, target_zone, obj/item/tool)