diff --git a/code/modules/mob/mob_helpers.dm b/code/modules/mob/mob_helpers.dm index c0315ce333bac..f9c46bdedf7c4 100644 --- a/code/modules/mob/mob_helpers.dm +++ b/code/modules/mob/mob_helpers.dm @@ -462,8 +462,10 @@ else user.visible_message("[user] has fixed some of the [dam ? "dents on" : "burnt wires in"] [H]'s [parse_zone(affecting.body_zone)].", \ "You fix some of the [dam ? "dents on" : "burnt wires in"] [H == user ? "your" : "[H]'s"] [parse_zone(affecting.body_zone)].") - if(((affecting.brute_dam <= 0 && brute_heal) && ((!H.is_bleeding()) && H.has_mechanical_bleeding())) || (affecting.burn_dam <= 0 && burn_heal)) //might be bad to have this many expressions in a single if.... + if((affecting.brute_dam <= 0 && brute_heal) && ((!H.is_bleeding()) && H.has_mechanical_bleeding())) return FALSE //successful heal, but the target is at full health. Returns false to signal you can stop healing now + if(affecting.burn_dam <=0 && burn_heal) + return FALSE //same as above, but checking for burn damage instead return TRUE //successful heal else to_chat(user, "[affecting] is already in good condition!")