This commit is contained in:
Timothy Teakettle
2020-07-18 21:40:19 +01:00
parent 74b2764591
commit fe79c53f04
2 changed files with 84 additions and 1 deletions
+1 -1
View File
@@ -186,7 +186,7 @@
/// if someone is using ointment on our burns
/datum/wound/burn/proc/ointment(obj/item/stack/medical/ointment/I, mob/user)
user.visible_message("<span class='notice'>[user] begins applying [I] to [victim]'s [limb.name]...</span>", "<span class='notice'>You begin applying [I] to [user == victim ? "your" : "[victim]'s"] [limb.name]...</span>")
if(!do_after(user, (user == victim ? I.self_delay : I.other_delay), extra_checks = CALLBACK(src, .proc/still_exists)))
if(!do_after(user, (user == victim ? I.self_delay : I.other_delay), target = victim))
return
limb.heal_damage(I.heal_brute, I.heal_burn)