Allows robotic limbs to be healed by pylons (#12468)

This commit is contained in:
Cazdon
2019-10-02 19:34:29 -04:00
committed by variableundefined
parent 98cec637b9
commit e46aa352dd
+1 -1
View File
@@ -212,7 +212,7 @@ var/list/blacklisted_pylon_turfs = typecacheof(list(
if(L.health != L.maxHealth)
new /obj/effect/temp_visual/heal(get_turf(src), "#960000")
if(ishuman(L))
L.heal_overall_damage(1, 1)
L.heal_overall_damage(1, 1, TRUE, FALSE, TRUE)
if(istype(L, /mob/living/simple_animal/shade) || istype(L, /mob/living/simple_animal/hostile/construct))
var/mob/living/simple_animal/M = L
if(M.health < M.maxHealth)