Fixes healing positional argument runtime

This commit is contained in:
ShizCalev
2018-12-09 15:40:22 -05:00
parent 2245f5dba9
commit a7f59ece72
+1 -1
View File
@@ -136,7 +136,7 @@
//Return TRUE to get whatever mob this is in to update health.
/obj/item/bodypart/proc/on_life()
if(stamina_dam > DAMAGE_PRECISION) //DO NOT update health here, it'll be done in the carbon's life.
if(heal_damage(brute = 0, burn = 0, stamina = stam_heal_tick, null, updating_health = FALSE))
if(heal_damage(0, 0, stam_heal_tick, null, FALSE))
. |= BODYPART_LIFE_UPDATE_HEALTH
//Applies brute and burn damage to the organ. Returns 1 if the damage-icon states changed at all.