Fixed a few organ getter bugs.

This commit is contained in:
cib
2012-11-14 20:59:38 +01:00
parent 906014b179
commit 2b5d3cac39
3 changed files with 5 additions and 8 deletions
+1 -1
View File
@@ -527,7 +527,7 @@ obj/structure/cable/proc/cableColor(var/colorC)
/obj/item/weapon/cable_coil/attack(mob/M as mob, mob/user as mob)
if(hasorgans(M))
var/datum/organ/external/S = M:organs[user.zone_sel.selecting]
var/datum/organ/external/S = M:get_organ(user.zone_sel.selecting)
if(!(S.status & ORGAN_ROBOT) || user.a_intent != "help")
return ..()
if(S.burn_dam > 0)